ASSOCIATE_NOT_FOUND
The API service allows to reference other resources by their IDs. In this way you can, for example, add an attachment by its ID instead of uploading a file directly to the resource.
Parameter
This error message will include the parameter
field, that will contain the name of the parameter, for which the associated resource cannot be found.
Reason
- The API service could not find the associated resource
Solution
- Make sure, that the referenced resource still exists
- Make sure, that you have permissions to access the referenced resource
- Make sure, that the referenced resource is a valid resource for this action
Example
{
"status": 400,
"errors": [
{
"code": "ASSOCIATE_NOT_FOUND",
"parameter": "user_id",
"message": "The associated resource referenced by the field cannot be found",
"more_info": "https://developer.kayako.com/api/v1/reference/errors/ASSOCIATE_NOT_FOUND"
}
]
}