Error Responses


Overview

In case of an error an HTTP error status code is returned, as well as a body response.

HTTP error codes

StatusCodeDefault message
4001Malformed resource ID
4002Bad Request
4003Missing Query Parameter
40010Unexpected Query Parameter value
4011Invalid API KEY
4041Resource not found
4042Unknown URI, did you make a spelling mistake?
5001Internal Error

Body response

The body response is structured as follows:

{
  "status": 404,
  "code": 1,
  "message": "Resource Not found"
}