ClavianAPI errors
All error codes

422 Unprocessable Content

Currency differs from the organisation's

Code
currency_mismatch
Status
422 Unprocessable Content
Type
https://errors.clavian.io/currency-mismatch

What it means

The currency given is not the organisation’s, and everything an organisation and its venues sell is in its one currency.

What to do

Use the organisation’s currency, which detail names.

Example

The API answers with status 422 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/currency-mismatch",
  "title": "Currency differs from the organisation's",
  "status": 422,
  "code": "currency_mismatch",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

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