ClavianAPI errors
All error codes

409 Conflict

Pass product is not on sale

Code
pass_product_inactive
Status
409 Conflict
Type
https://errors.clavian.io/pass-product-inactive

What it means

The pass product is inactive or archived, so a holding cannot be sold or granted from it. An inactive product is refused at fulfilment, not only in the catalogue.

What to do

Activate the product, or pick one that is on sale, then sell or grant again.

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-product-inactive",
  "title": "Pass product is not on sale",
  "status": 409,
  "code": "pass_product_inactive",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

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