collection_kind_mismatch
A Tracker of one kind was offered to a Collection of another kind.
Status
HTTP 409, title Collection kind mismatch. One of the the request itself errors. Branch on code, never on the status or the prose.
Retryable: no. Every body carries this as retryable: false, beside action and remedy: the same request will fail again until the request changes or a person acts.
Common causes
- Adding a Tracker to a Collection made for a different kind.
What to do
Action: Add this target to a Collection of its own kind.
A collection holds one kind of tracker, fixed when it was made. Put this target in a collection of its own kind.
Example
The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.
{
"type": "https://www.shortsintel.com/docs/reference/errors/collection_kind_mismatch",
"title": "Collection kind mismatch",
"status": 409,
"code": "collection_kind_mismatch",
"retryable": false,
"action": "Add this target to a Collection of its own kind.",
"remedy": "A collection holds one kind of tracker, fixed when it was made. Put this target in a collection of its own kind."
}