You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error code 404 should not be used when there is nothing to return. The 400-499 range of HTTP status codes indicate a client error. When the list of highlights is empty, it is not a client error.
In my opinion, status code 204 (No content) should be used or 200 (OK) with an empty array as the body.
Error code 404 should not be used when there is nothing to return. The 400-499 range of HTTP status codes indicate a client error. When the list of highlights is empty, it is not a client error.
In my opinion, status code 204 (No content) should be used or 200 (OK) with an empty array as the body.
Describe the bug
Since we are returning 404 in the API when there is nothing to be returned........ Errors are send to Sentry constantly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Certain 404's to not be logged in Sentry.
Screenshots
https://gyazo.com/aa5ce192347d3dcd9c9de7dee0ad5748
The text was updated successfully, but these errors were encountered: