AI-generated Key Takeaways
-
This documentation lists potential error codes returned by an OAuth 2.0 authorization server during the authorization process.
-
These errors help developers understand and handle issues like invalid requests, denied access, unsupported methods, or server problems.
-
Each error code has a specific meaning, such as
INVALID_REQUEST
indicating a problem with the request parameters, orACCESS_DENIED
signaling that the user or server rejected the request. -
Developers should use these error codes to provide informative feedback to users and improve the user experience of their applications.
The list of errors thrown by the server.
Enums | |
---|---|
ERROR_UNSPECIFIED |
Error code unspecified. |
INVALID_REQUEST |
The request is missing a parameter, contains an invalid parameter, includes a parameter more than once, or is otherwise invalid. |
ACCESS_DENIED |
The user or authorization server denied the request |
UNAUTHORIZED_CLIENT |
The client is not allowed to request an authorization code using this method. |
UNSUPPORTED_RESPONSE_TYPE |
The server does not support obtaining an authorization code using this method. |
INVALID_SCOPE |
The requested scope is invalid or unknown. |
SERVER_ERROR |
Instead of displaying a 500 Internal Server Error page to the user, the server can redirect with this error code. |
TEMPORARILY_UNAVAILABLE |
If the server is undergoing maintenance, or is otherwise unavailable, this error code can be returned instead of responding with a 503 Service Unavailable status code. |