Integrate
Errors
Status codes and the error body.
Status codes
| Status | Meaning |
|---|---|
| 400 | The request has invalid data, or it uses an unsupported field, operator or sort. |
| 401 | The JWT bearer token is missing or invalid. |
| 403 | The caller is authenticated, but not authorized to access this resource. |
| 404 | No such resource exists. |
| 409 | The state of the resource does not permit the change. See the type of the error. |
| 500 | An internal error occurred during the request. |
| 502 | Service error. Send the request again as the agreed retry policy says. |
| 503 | The service is not available. Send the request again as the agreed retry policy says. |
| 504 | Service timeout. Send the request again as the agreed retry policy says. |
Each operation page lists the status codes of that operation.
Error body
An error answer has a list of errors and a timestamp.
{
"errors": [
{
"type": "ValidationError",
"message": "Quantity amount must be positive.",
"field": "quantity.amount"
}
],
"timestamp": "2025-01-15T10:30:00Z"
}| Field | Meaning |
|---|---|
type | The category of the error. |
message | An error message for a person to read. |
field | The field where the error occurred. It is missing when the error does not relate to one field. |
See the ErrorResponse object.