403 Forbidden
Not on a shared counter device
- Code
shared_device- Status
403Forbidden- Type
https://errors.clavian.io/shared-device
What it means
A shared counter device may not make this request, because it would act on the account of the member who opened the device, such as setting a PIN or accepting an invitation.
What to do
Make the request from the person’s own device, signed in as them.
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/shared-device",
"title": "Not on a shared counter device",
"status": 403,
"code": "shared_device",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
PUT /v1/organizations/{organizationId}/members/me/pinSet or change your own staff PIN at a venuePOST /v1/organizations/{organizationId}/members/shared-deviceTurn this device into a shared counter device