ClavianAPI errors
All error codes

403 Forbidden

Not on a shared counter device

Code
shared_device
Status
403 Forbidden
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: