Skip to main content
When a request fails, the API will respond with an appropriate 4xx or 5xx error in the following format in the body of the response:
For 400 Bad Request responses, the body may also include a validation object with details about which part of the request failed validation. Responses generated at the gateway level rather than by the API itself (429, 502, and 503) may not include the JSON body shown above.

Job Errors

When a job fails, its status becomes failed and the job object (API reference) includes a failure field describing what went wrong:
The failure.code field will be one of the following: