Errors
All of the relevant errors that API might result upon different malformed requests or unexpected failure are documented here.
Token Expired
When the given authentication token, which is frequently used for user authentication and authorisation, has passed its predetermined expiration date or has been explicitly revoked by the server for security reasons, the server may issue a “Token Expired” error.
Note
To resolve this error please use the refresh token for new access token. Follow : Authorization for reference.
Status Code : 401
Error Response
{
"user_id": "not-set",
"request_from": "not-set",
"request_id": "not-set",
"trace_id": "not-set",
"title": "token expired",
"description": "token has expired"
}
Invalid Token
A server often issues a “Invalid Token” error when the provided authentication token is incorrect, tampered with, or does not match any legitimate token in the server’s records.
Note
This issue shouldn’t occur if you are using legitimate token. Incase you are getting this issue here are few things to verify.
Bearer prefix is being passed on token
The token has no trailing spaces
Incase issue persist, please request for new access token following Authorization section.
Status Code : 400
Error Response
{
"user_id": "not-set",
"request_from": "not-set",
"request_id": "not-set",
"trace_id": "not-set",
"title": "invalid token",
"description": "provided token is not valid"
}