We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When sending an access_token request that returns an error, KeyError: 'access_token' is raised instead of a meaningful error message:
KeyError: 'access_token'
Wouldn't something like this be more meaningful?
# token_data = {'error': 'invalid_grant', 'error_description': 'Invalid refresh token'} if token_data.get("error") is None: raise RuntimeError(f'Obtaining access token failed: {token_data["error_description"]}') self._access_token = token_data["access_token"]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When sending an access_token request that returns an error,
KeyError: 'access_token'
is raised instead of a meaningful error message:Wouldn't something like this be more meaningful?
The text was updated successfully, but these errors were encountered: