The error response object will contain information about the nature of the error.
{
"message": "Access token expired.",
"errorCode": "tokenExpired",
}
HTTP Code | Error Code | Error Message |
---|---|---|
400 |
| Validation failed, please modify your request and try again. |
401 |
| Access token expired. |
401 |
| Access token is missing or invalid. |
403 |
| Request not authorized. |
404 |
| Resource not found, please validate the requested unique identifier. |
500 |
| An error has occurred, please try your request again or contact support. |
In the case of validation errors, the error object may also contain a fieldErrors
array with details about specific fields which did not pass validation. Fields will be specified in JSONPath notation.
{
"message": "Validation failed, please modify your request and try again.",
"errorCode": "validationFailed",
"fieldErrors": [
{
"message": "First name is required",
"errorCode": "required",
"field": "$.applicant.firstName"
}
]
}
Field Error Code | Field | Error Message |
---|---|---|
|
| First name is required. |