Measura API documentation · v1
The error object in a failed API response. Successful responses set error to null.
Scroll horizontally to see all columns.
| Field | Type | Description |
|---|---|---|
code | string | Machine-readable error code. Interpret it together with the HTTP status and endpoint contract. |
message | string | Human-readable explanation of the failure. |
details | JSON value (optional) | Context-specific details, omitted when not provided. May be an object, array, primitive, or null; do not require an empty object. |
details.operationId | string (optional) | For kit/order operation failures, a UUID that can be retrieved through GET /operations/{operationId}. When details is an object, this may identify the receipt. |
details.operationStatus | string (optional) | May be rejected or requires_review for a saved kit/order failure. A requires_review state can mean changes already applied. |
Note
meta and requestId are optional envelope fields. They are not fields of ApiError. Retry information is provided only where the endpoint specifies it; honor a Retry-After header when present.
Related:
See error codes and write safety and recovery before retrying writes.
{
"success": false,
"data": null,
"error": {
"code": "operation_in_progress",
"message": "This request is already processing. Retrieve its operation status before retrying.",
"details": {
"operationId": "12345678-1234-4234-a234-123456789abc"
}
}
}