If an error occurs, this API responds with JSON objects that provide information you can use to debug the problem. This example shows a typical error response object:

{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "errors": [
    {
      "type": "about:blank",
      "title": "Bad Request",
      "detail": "Invalid value: 'lastName', parameter: sort",
      "parameter": "sort",
      "value": "lastName"
    }
  ]
}

For details on information contained in the error responses, refer to Error response syntax.