ApiError
Describes what went wrong.
statusinteger<int32>
The HTTP status code (same value as the response status code).
codestringnullable
Stable, machine-readable error code (UPPER_SNAKE_CASE), e.g. VALIDATION_ERROR, TOKEN_EXPIRED, INSUFFICIENT_SCOPE, SENDER_INACTIVE, NOT_FOUND. Integrations should branch on this value.
messagestringnullable
Human-readable, user-friendly description of the error.
details object[]nullable
Field level errors (validation). Omitted when there are none.
Array [
fieldstringnullable
The request field (as named in the JSON body / query string) the error refers to. Omitted when the error is not tied to a single field (e.g. malformed request body).
messagestringnullable
What is wrong with the field.
]
traceIdstringnullable
Identifier of the request. Quote it when contacting support so the request can be found in the logs.
timestampstring<date-time>
When the error occurred (UTC, ISO 8601).
ApiError
{
"status": 0,
"code": "string",
"message": "string",
"details": [
{
"field": "string",
"message": "string"
}
],
"traceId": "string",
"timestamp": "2024-07-29T15:51:28.071Z"
}