Example

{
    "error": "invalid_request",
    "error_description": "Invalid or expired code parameter."
}

Obtain token errors

Response"error""error_description"Possible issue
400 Bad Requestinvalid_requestInvalid or expired code parameterThe code parameter retrieved during authentication is wrong, missing, or expired.
400 Bad Requestinvalid_requestredirect_uri did not match URI from initial requestThe redirect URI must be registered with Akoya
400 Bad Requestinvalid_grantMissing or incorrect grant_type field. Must be authorization_code
401 Unauthorizedinvalid_clientInvalid client credentials.The client id or secret is incorrect

Refresh token errors

Response"error""error_description"Possible issue
400 Bad Requestinvalid_requestNo refresh token in requestThe refresh token is missing, invalid, or claimed by another client
400 Bad Requestinvalid_requestRefresh token is invalid or has already been claimed by another client.The refresh token is wrong or expired
400 Bad Requestinvalid_grantMissing or incorrect grant_type field. Must be refresh_token
401 Unauthorizedinvalid_clientInvalid client credentials.The client id or secret is incorrect

Revoke token errors

{
    "error": "invalid_request"
}
Response"error"Possible issue
400 Bad Requestinvalid_requestOne or more key value is missing, invalid, or claimed by another client: refresh_token, client_id, client_secret
400 Bad Requestunsupported_token_typeThe token_type_hint must be set to refresh_token