This section provides details on the data object that reflects the API's common response to error cases, and lists the API's range of response status codes for both error and success cases.
The top-level error object contains type
, title
, instance
, status
, and optionally, errors
. The second-level error objects contain type
and title
. Additional fields for debugging may be included in both top- and sub-level error objects where applicable.
{
"type": "validation.error",
"title": "Validation error",
"instance": "d0597988-27fa-4c18-a302-63e594167010",
"status": 400,
"errors": [
{
"type": "required.field.missing",
"title": "Required field missing",
"field": "requirementName"
}
]
}
For details on information contained in the error responses, refer to Error response syntax.