Authentication errors

This guide provides descriptions of common authentication errors, possible causes, and troubleshooting steps to resolve them.

Token creation errors

Token creation errors happen when there are issues obtaining a new access token from the Create an access token endpoint.

HTTP status codeErrorCommon causesTroubleshooting tips
400 Bad Request"error": "invalid_request"A required parameter is missing or an unsupported or duplicate parameter is included.Ensure your request payload is correctly formatted, includes only the required properties, and that all properties are of the correct data type according to the API specifications.
400 Bad Request"error": "unsupported_grant_type"An unrecognized grant type is requested.Ensure that the grant_type is set to client_credentials.
401 Unauthorized"error": "invalid_client"The client_id or client_secret provided are incorrect or invalid.Ensure your client_id and client_secret are correct and active.

Authentication errors

Authentication errors relate to issues with verifying credentials or tokens.

HTTP status codeErrorCommon causesTroubleshooting tips
401 Unauthorized"error": "invalid_token"The access token is either missing, invalid, has expired, or has been revoked.Ensure that you are including a valid access token in the Authorization header and that the token has not expired.