Error Handling
Below are the list of common error you might see from the API response.

Error format

1
{
2
"data": {},
3
"status": {
4
"type": "error",
5
"key": "access_token_fetch_error",
6
"message": "Error fetching access token"
7
}
8
}
Copied!

Error code

Error Code
Description
401
User not authorized
400
Invalid input parameters or invalid input data

Error type

Invalid access token
invalid_access_token
The token might have expired or an invalid token
Invalid domain
invalid_domain
The license key is not registered for this domain, please associate this domain for the purchases license by login to your account.
Invalid session
invalid_session
The session key provided might have expired, please get a new session key using Session API. Note: A session key is valid for 24hours.
Invalid service
invalid_service
The service name passed is not correct, please refer the Supported Service page
Invalid License Key
Invalid_License_key
The License key provided is invalid
This service is not available in your plan
invalid_service
The service requested to import contacts is not available in the purchased plan. Please purchase the required plan for this service and try again.
Missing input
missing_input
Check if you are passing all the input parameters as per the documentation
Missing session
missing_session
Check if you are passing the session value as part of the Header. Note: Session is received from Session API
Invalid redirect url
invalid_redirecturl
The provided redirect url might not matched with the redirect url provided in the APP configuration.
Error occurred while fetching access token
access_token_fetch_error
The provided access token or code, token secret, token verifier could be wrong.
Error occurred while fetching contacts
contacts_fetch_error
Error occurred while fetching the contacts, please contact [email protected] for more help
Something went wrong
something_went_wrong
Error occurred during the operation