Here we list the most common error codes you can encounter during the OAuth flow:
Error Type  | Reason  | 
|---|
invalid_params
  | Required parameters are missing or invalid. Details are provided in the response.  | 
unsupported_response_type
  | The requested response type is not supported by the authorization server. You must use response_type=code.  | 
application_not_found
  | The application associated with the client_id  does not exist.  | 
invalid_scope
  | The specified scope is not authorized for this user, this application, is unknown or malformed. 
Details are provided in the response.  | 
invalid_redirect_uri
  | The provided redirect_uri does not match a pre-registered value.  | 
missing_redirect_uri
  | The redirect_uri is not registered for this application.  | 
invalid_request
  | The access_token is missing, the authorization code is invalid or the refresh_token is invalid. Details are provided in the response.  | 
invalid_token
  | The access_token is invalid or has expired.  | 
invalid_client
  | The client_secret is invalid.  |