Error Handling

The errors are returned using standard HTTP error code syntax.

HTTP Error Code Description Error Response
400 Bad Request Invalid Request
{
  "errorCode": "string",
  "errorType": "string",
  "errorMessage": "string",
  "errorDetails": "string"
}
404 Not Found Resource Not Found
{
  "errorCode": "string",
  "errorType": "string",
  "errorMessage": "string",
  "errorDetails": "string"
}
500 Internal Server Error Internal Server Error occurred
{
  "errorCode": "string",
  "errorType": "string",
  "errorMessage": "string",
  "errorDetails": "string"
}