FIELD_REQUIRED

In terms of the error a "field" is a special named value, that is used to deliver a value for a resource's field. Fields should be specified in the request body.

Parameter

Messages with this error code will include the parameter field with the name of the field that is required.

Reason

  • To process this request the API service needs a value to be specified for this field
  • The API service is not able to find a value for this field

Solution

  • Repeat the request with a value specified for the field, name of which was included in the parameter field of the error message
  • Make sure, that you specify the value in the request body

Example

{
    "status": 400,
    "errors": [
        {
            "code": "FIELD_REQUIRED",
            "parameter": "email",
            "message": "This action requires the field to be specified",
            "more_info": "https://developer.kayako.com/api/v1/reference/errors/FIELD_REQUIRED"
        }
    ]
}