ClavianAPI errors
All error codes

409 Conflict

This pass cannot be bought on this PC

Code
pass_not_buyable_here
Status
409 Conflict
Type
https://errors.clavian.io/pass-not-buyable-here

What it means

The pass is not sold at the kiosk, is outside its sale window, is not offered at this venue, or does not cover this station’s class, so it cannot be bought from this PC.

What to do

Buy a pass listed for this PC, or buy this one at the front desk. The same request is refused every time.

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-buyable-here",
  "title": "This pass cannot be bought on this PC",
  "status": 409,
  "code": "pass_not_buyable_here",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

From the OpenAPI document, every endpoint that names it among its answers: