FIELD_DUPLICATE
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, the value of which caused the error.
Reason
- Such value is already used by another resource
- The value of the array type contains duplicate items
Solution
- Use a value, that is not used by other resources
- Make sure, that the value does not contain duplicate items, if the value is an array
Example
{
"status": 400,
"errors": [
{
"code": "FIELD_DUPLICATE",
"parameter": "label",
"message": "The value of the field is already used for another resource",
"more_info": "https://developer.kayako.com/api/v1/reference/errors/FIELD_DUPLICATE"
}
]
}