Errors

We tried to make error handling very simple, following a simple and straightforward path. Here you can find all the details about APIs errors.

Error structure

APIs can reply with one of the following HTTP Status Code

Code

Message

200

Success

400

Bad Request - Your request is invalid

401

Unauthorized - Your client id or client secret is wrong

404

Not Found - The specified resource could not be found

500

Internal Server Error - We had a problem with our server. Try again later or contact us

In case of errors (4xx or 5xx), the structure of the JSON response is the following

{
"errorCode": "{the_specific_error_code}", //see table below
"errorMessage": "{the_specific_error_message}" //see table below
}

Error Codes

These are the possible error codes you can get. Together with the code, a more detailed message will explain what that code means and refers to.

errorCode

errorMessage

GEN_0002

Missing parameter in your body request

SEC_0000

Invalid request authentication method

SEC_0004

Invalid grant type

SEC_0005

Invalid client id or secret

SEC_0008

Invalid access token

‚Äč