Parsing Bad Request error

Bad Requests

The HTTP 400 Bad Request response indicates the field(s) that are incorrect.

The errors key returns the actual field names and the reason for the failure.

{
  "errors": {
    "lid": "missing-required-key",
    "lid2": "disallowed-key"
  },
  "value": {
    "lid2": "somevalue"
  },
  "in": [
    "request",
    "form-params"
  ]
}