Skip to content

Errors

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.

Common causes

  • Adding a Tracker to a Collection made for a different kind.

What to do

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. 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"
}