All error responses are in the following format, delivered with the corresponding status code. The extra field is used to provide additional information about the error. In the following example you can see that we passed an extra field (named fake_field) and omitted a required field (named field).

{
  "extra": {
    "field": "required field", 
    "fake_field": "unknown field"
  }, 
  "message": "Input failed validation", 
  "status_code": 422, 
  "type": "ValidationException"
}