Access token is a type of token that is assigned by the authorization server. The authorization server issues the access token, if the access token request is valid and authorized. If the token access request is invalid or unauthorized, then the authorization server returns an error response.
For information on access token response, click this link
The application can handle error response by sending them to redirect_uri.
For instance −
The above URI contains the following parameters −
error − It specifies the error code if there is an invalid request, invalid client, invalid grant, or unauthorized client.
error_description − It defines the detail description of the error.
Following are the various error codes, which can occur when there are errors at the authorization endpoint.
|Sr.No.||Error & Description||Error Code|
This error occurs when there is a missing parameter that includes multiple credentials, unsupported parameter value.
The unauthorized client is not allowed to access the authorization grant type.
It specifies the user will have no access permission to files or subfolders.
It specifies the response type is not supported by the authorization server.
This error code is mainly used when 500 internal server cannot be returned to the client by using HTTP redirect.
It specifies that the server is unable to handle the request during overloading of server or during server maintenance.