REQUEST_FIELDS_EMPTY
In terms of the API service a "field" is a parameter, that delivers a value for a resource's field. Such parameters should be usually specified in the request body.
Reason
- The request does not include any parameters (field values), what is required for this API action (usually
PUT
)
Solution
- Be sure to specify at least one parameter (or to upload a file) in your API request
Example
{
"status": 400,
"errors": [
{
"code": "REQUEST_FIELDS_EMPTY",
"message": "This action requires resource parameters (i.e., resource fields) to be specified",
"more_info": "https://developer.kayako.com/api/v1/reference/errors/REQUEST_FIELDS_EMPTY"
}
]
}