403 Forbidden
This counter device is locked
- Code
device_locked- Status
403Forbidden- Type
https://errors.clavian.io/device-locked
What it means
The request came from a shared counter device that no staff member has unlocked with their PIN.
What to do
Show the PIN pad, and repeat the request once a staff member has unlocked the device.
Example
The API answers with status 403 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/device-locked",
"title": "This counter device is locked",
"status": 403,
"code": "device_locked",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
GET /v1/me/accessWhat you may do: in an organisation, at a venue, or on the platformGET /v1/me/organizationsThe organisations you are on the staff ofGET /v1/me/venuesThe venues you work at