If an error occurs, this API responds with JSON objects that provide information you can use to debug the problem. For example:
{
"status": "400",
"title": "Erroneous data input.",
"type": "/contract-api/error-types/E400",
"errors": [
{
"detail": "From date must be within 15 months in past from the current date",
"title": "from"
},
{
"detail": "To date must be on or before the current date",
"title": "to"
}
]
}
There are many possible causes for failure, such as data input errors or a resource not being found. Consult the error response’s details
.
For details on information contained in the error responses, refer to Error response syntax.