409 Conflict
That pass is not waiting on this session
- Code
pass_not_queued- Status
409Conflict- Type
https://errors.clavian.io/pass-not-queued
What it means
Only a pass queued on the running session, and not yet started, can be pinned to be used next. This one is already in use, played through, or cannot fund play on this station now.
What to do
Read the account again and offer the pin only on a pass it lists as queued.
Example
The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/pass-not-queued",
"title": "That pass is not waiting on this session",
"status": 409,
"code": "pass_not_queued",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/me/play-sessions/current/passes/{holdingId}/pinUse a queued pass nextPOST /v1/station/sessions/current/passes/{holdingId}/pinUse a queued pass next on the station’s session