409 Conflict
Pass not valid at this venue
- Code
pass_not_valid_here- Status
409Conflict- Type
https://errors.clavian.io/pass-not-valid-here
What it means
The pass was sold for use only at another venue of the organisation (its product is scoped to a single venue), so it cannot fund play here.
What to do
Say the pass can be used only at the venue it is valid at. Read the account again: it lists only the passes usable here.
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-valid-here",
"title": "Pass not valid at this venue",
"status": 409,
"code": "pass_not_valid_here",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/station/sessions/current/passes/{holdingId}/pinUse a queued pass next on the station’s session