focus_unsupported_kind
A Focus was sent for a Tracker kind that cannot take one. Nothing was created or charged.
Status
HTTP 422, title Focus unsupported kind. 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
- Creating an Advertiser or Video Tracker with
focus. - Creating a Tracker with
focuson a kind not listed insupported_kinds.
What to do
Action: Send the Tracker without focus, or pick a kind in supported_kinds.
Send the Tracker without focus, or track a kind listed in supported_kinds. Nothing was created or charged.
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/focus_unsupported_kind",
"title": "Focus unsupported kind",
"status": 422,
"code": "focus_unsupported_kind",
"retryable": false,
"action": "Send the Tracker without `focus`, or pick a kind in `supported_kinds`.",
"remedy": "Send the Tracker without `focus`, or track a kind listed in `supported_kinds`. Nothing was created or charged."
}