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
The raise_for_status call from httpx is called several times in our code. It fails when the status is anything not equal to 2xx.
And we do not handle these exceptions in our centralized exception handler. So that means that these calls result in 500 status codes for the API. But perhaps some of them should be 404s or 401s. So it would be good to change these.
Also if we want to keep using this is may be a good idea to add a handler for this exception in the centralized error handler.
The text was updated successfully, but these errors were encountered:
The raise_for_status call from
httpx
is called several times in our code. It fails when the status is anything not equal to 2xx.And we do not handle these exceptions in our centralized exception handler. So that means that these calls result in 500 status codes for the API. But perhaps some of them should be 404s or 401s. So it would be good to change these.
Also if we want to keep using this is may be a good idea to add a handler for this exception in the centralized error handler.
The text was updated successfully, but these errors were encountered: