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
I've noticed that when asynchornous call is being used and the authentification token expires, the call never runs the callback.
If synchorous call is used, the call uses BambouHTTPError exception with error code 401.
When asynchronous call encouter error 404, it does run the provided callback and the response can be checked for the status_code, but this doesn't happen in case of error 401 ( haven't managed to try with all the other error events )
Would it be possible to make the asynchronous calls to run the callback in all ocasions in order to deal with possile errors returned back from the API ?
Many thanks.
The text was updated successfully, but these errors were encountered:
Hello,
I've noticed that when asynchornous call is being used and the authentification token expires, the call never runs the callback.
If synchorous call is used, the call uses BambouHTTPError exception with error code 401.
When asynchronous call encouter error 404, it does run the provided callback and the response can be checked for the status_code, but this doesn't happen in case of error 401 ( haven't managed to try with all the other error events )
Would it be possible to make the asynchronous calls to run the callback in all ocasions in order to deal with possile errors returned back from the API ?
Many thanks.
The text was updated successfully, but these errors were encountered: