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":"forbidden.request.error",
"title":"Forbidden request.",
"status":403,
"errors":[
{
"type":"field.access.denied",
"title":"Field access denied.",
"detail":"You don't have access to the requested URL. Contact your Admin to request access.",
"requestField":"url"
}
]
}
For details on information contained in the error responses, refer to Error response syntax.