Check the client_id parameter | The client_id is not provided. | Provide your application client_id. |
Check the client_secret parameter | The client_secret provided is not a string. | Ensure that the client_secret is a string. |
| Invalid Client or Grant type | The client_id does not exist. | Use a valid client_id. |
| Access denied | The client_secret provided is wrong. | Use a valid client_secret. |
| Check that all required parameters have been provided | - The
grant_type provided is invalid. - The
authorization_code is not provided.
| - Use a valid
grant_type. - Ensure that you enter the authorisation code.
|
Check the redirect_uri parameter | The redirect_uri is not provided or is not a string. | Ensure that the redirect_uri is a valid string. |
| Client authentication failed | The redirect_uri provided does not match the one configured with the client. | Use the redirect_uri that is configured with the client. |
| Only allowed modes are test or live | The mode used is not valid. | Only use either live or test mode. |
| Mode can be only set to live for production clients | A production client is using test mode API keys. | Ensure that you only use live API keys if you are a production client. |
| Cannot decrypt the authorization code | The authorization_code provided is invalid. | Use a valid authorisation code. |
| Authorization code has expired | The authorization_code provided has expired. | Use a valid authorisation code. |
| Authorization code has been revoked | The authorization_code provided has been revoked. | Use a valid authorisation code. |
| Authorization code was not issued to this client | The authorization_code provided does not belong to the client id used. | Ensure that the authorization_code belongs to the client id used. |
| Invalid redirect URI | The redirect_uri entered is incorrect. | Ensure that the redirect_uri entered matches the one added in the application settings. |