In case of a server-side error in our system, our API will return an error with an HTTP status code in the 500 to 599 range.

None of these errors can be resolved client side. Please contact support to raise any 5XX errors.

{
    "type": "error",
    "code": "server_error",
    "status": 500,
    "message": "Request could not be processed",
    "details": []
}
typerequired
string

The type of object returned. This is always error.

coderequired
string

The machine-readable code for this error. This is one of the following values.

  • server_error
  • bad_gateway
  • gateway_timeout
typerequired
number

The HTTP status code of the error. This can be 500, 502, or 504.

messagerequired
string

The human-readable description of this error.

details
array

A list of validation errors for the request. This is always an empty array for a server error.