ClavianAPI errors
All error codes

403 Forbidden

Not allowed

Code
forbidden
Status
403 Forbidden
Type
https://errors.clavian.io/forbidden

What it means

The caller is signed in, but its role does not give it the permission this action needs at this scope: the Platform, an organisation or a venue.

What to do

Do not retry, because the answer changes only when the role does. Say the action is not allowed, and hide it where the client reads the caller’s permissions from GET /v1/me/access.

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/forbidden",
  "title": "Not allowed",
  "status": 403,
  "code": "forbidden",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

74 endpoints in the OpenAPI document name it among their answers.

All 74 endpoints