Bug #3677
Respond with 204 (No Content) instead of 404.
Start date:
07/22/2024
Due date:
% Done:
100%
Estimated time:
0.20 h
Description
Some GCFs are responding with 404 status code when:
1. No data in DS is found
2. No file in gcs found
Bug: Status 404 will signify an error which will be logged in the chrome console even after handling it.
Fix: Responding with 204 instead will signal 'No Content' available at the requested resource without marking this scenarios as an error.
List of GCFs with this bug:
1. get_file
2. set_questions_list
3. get_questions_list
4. get_question