-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raise_for_status after requesting oauth token #219
Comments
The actual response to the request is:
So |
FYI those are 3rd party library responses and we don't format them like our API endpoint error responses, i.e. |
Ah, that explains the difference then. It'll be simple enough to handle both cases and I'll add a fallback based on the status code. |
Noting that this should also handle
A |
Is the |
In this case I'm not sure what caused it. It certainly could have been a 500, but all I can tell from the error is that the response body was empty. When we handle the |
Here:
panoptes-python-client/panoptes_client/panoptes.py
Line 553 in 1bc6bac
Otherwise a HTTP 401 with no
errors
key can result in a KeyError:The text was updated successfully, but these errors were encountered: