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
There was a use case where the reauth wasn't doing the required actions. I added my own checks in to see what was happening. The response code from the server was 401 which means you are unauthorised. Upon this error, it was also failing to re-authenticate. The error codes can be seen in the documentation here - https://monzo.com/docs/#errors.
If I run across the error again, I'll get some more debugging information added in to see what is actually happening in the long term.
Minimal code snippet below to see when it was happening:
Looking at the source code of requests-oauthlib and oauthlib I think you may be right and in some cases Monzo API could return 401 without TokenExpiredError being raised.
There was a use case where the reauth wasn't doing the required actions. I added my own checks in to see what was happening. The response code from the server was 401 which means you are unauthorised. Upon this error, it was also failing to re-authenticate. The error codes can be seen in the documentation here - https://monzo.com/docs/#errors.
If I run across the error again, I'll get some more debugging information added in to see what is actually happening in the long term.
Minimal code snippet below to see when it was happening:
The text was updated successfully, but these errors were encountered: