Error Responses

Errors in the 4xx and 5xx range return a standard JSON format indicating the reason for the error along with additional contextual information.

For requests that fail with a response code of 400, the invalid key will have more information about which parameter(s) caused the request to fail.

{
    "code": "400",
    "type": "INVALID_REQUEST_ERROR",
    "message": "The request was invalid.",
    "invalid": [{
        "name": "limit",
        "reason": "Limit must be less than 500."
    }]
}

Error Codes

Last updated