8. HTTP response codes

HTTP Code

Message

Description

200 OK

 

The HTTPS request was accepted.

400 Bad Request

The request could not be validated

The HTTPS request failed to pass the validation, i.e., one or more of the required parameters of the request are empty/missing/contradictory/invalid. The given message provides more information as to why the validation failed.

401 Unauthorized

ApiKey missing

ApiKey is missing in the request. You have to include it either as HTTP header with key “apiKey” or as query parameter in your request.

403 Forbidden

Apikey is wrong.

The API key provided is not authorized.

404 Not Found

The requested resource could not be found.

The requested URI is non-existent.

405 Method Not Allowed

Invalid request method.

The request contains an invalid HTTP method

(POST/GET).

406 Not Acceptable

The content-type is not supported. Allowed values are "application/json".

The request is not JSON format or the HTTP header reads "Content-Type".

415 Unsupported Media Type

The media type is not supported. Allowed media-type is "application/json".

The request is not JSON format or the HTTP header reads "Accept".

500 Internal Server Error

Please retry. If error persists, please contact customer support.

Unexpected error.