Error Reference

All authorization and authentication endpoints return standard OAuth 2.0 error payloads when a request fails.

Error Payload Format

Failed requests return an HTTP status code in the 4xx or 5xx range and a JSON body containing the fields error and error_description.

{
  "error": "invalid_client",
  "error_description": "Client authentication failed (e.g. unknown client, no client secrets, or unsupported authentication method)."
}

Error Codes Table

Error CodeHTTP StatusMeaning
invalid_request400 Bad RequestThe request is missing a required parameter, includes an unsupported parameter, or is otherwise malformed.
invalid_client401 UnauthorizedClient authentication failed (e.g. unknown client ID, invalid client secret, or no client credentials provided).
invalid_grant400 Bad RequestThe provided authorization code or refresh token is invalid, expired, revoked, or the redirect URI doesn't match.
access_denied403 ForbiddenThe resource owner or authorization server denied the request (e.g. user pressed 'Cancel' on the consent screen).
unsupported_response_type400 Bad RequestThe authorization server does not support obtaining an authorization code using this method (only code is supported).
server_error500 Internal ErrorThe authorization server encountered an unexpected condition that prevented it from fulfilling the request.