| Exception | Description |
|---|---|
| InvalidClientException |
InvalidClientException is raised when authentication fails.
|
| InvalidGrantException |
InvalidGrantException is raised when a specified code doesn't exist, is expired, has been used,
or doesn't belong to you; a refresh token doesn't exist, or doesn't belong to you; or if an API
key's mode (live or test) doesn't match the mode of a code or refresh token.
|
| InvalidRequestException |
InvalidRequestException is raised when a code, refresh token, or grant type parameter is not
provided, but was required.
|
| InvalidScopeException |
InvalidScopeException is raised when an invalid scope parameter is provided.
|
| OAuthException |
Base parent class for all OAuth exceptions.
|
| UnsupportedGrantTypeException |
UnsupportedGrantTypeException is raised when an unuspported grant type parameter is specified.
|
| UnsupportedResponseTypeException |
UnsupportedResponseTypeException is raised when an unsupported response type parameter is
specified.
|