request_id — include it when contacting support.
string
Error type identifier in snake_case, e.g.
resource_not_found, insufficient_funds.string
Machine-readable error code, e.g.
RESOURCE_NOT_FOUND. Use this for programmatic handling.string
Human-readable description of what went wrong.
object | null
Additional structured context, when available.
string | null
Identifier of the request, for tracing and support.
Example — error response
Validation errors
When a request body fails validation, the response is422 and includes a validation_errors array listing every failed field — not just the first one.
string
The field that failed validation.
string
Why the value was rejected.
any
The invalid value that was provided.
Example — validation error (422)