ClavianAPI errors
All error codes

409 Conflict

That pass is not waiting on this session

Code
pass_not_queued
Status
409 Conflict
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: