Skip to main content
Errors use standard HTTP status codes and return a JSON body with an error object and a requestId:
string
The category of error. See the table below.
string
A stable, machine-readable code, such as missing_idempotency_key. Only some errors have one.
string
A readable explanation. Don’t match on it, because the wording can change.
array
Returned when a template definition is invalid. Lists each problem and where it is.
string
Identifies the request. Include it when you contact support.

Status codes

Error codes

Debugging

Every API request is listed in the dashboard under Developers → Request logs, with its status and response.