RESOURCES_DO_NOT_MATCH
From the API service's point of view each API URL represents a resource and an action for the resource.
The parent resource is the resource, that is specified in the API URI to the right of the current resource, e.g., /api/v1/<parent>/<id>/current
.
Reason
- The resource, which is specified as a parent of the current resource in its URI, is not actually its parent
- The resource, which is referenced as a parent of the current resource, is not actually its parent
- The API service could not find resources with the specified IDs
Solution
- Make sure, that the specified ID of the parent resource is correct
- Make sure, that the ID of the current resource is correct
- Check, if the parent resource is still a parent of the current resource
- Make sure, that IDs of resources are specified correctly
Example
{
"status": 400,
"errors": [
{
"code": "RESOURCES_DO_NOT_MATCH",
"message": "No matching resources were found",
"more_info": "https://developer.kayako.com/api/v1/reference/errors/RESOURCES_DO_NOT_MATCH"
}
]
}