ClavianAPI errors
All error codes

409 Conflict

This organisation has as many custom roles as it may

Code
custom_role_limit_reached
Status
409 Conflict
Type
https://errors.clavian.io/custom-role-limit-reached

What it means

The organisation already has twenty custom roles, the most it may have.

What to do

Delete a custom role it no longer uses, or change one, before adding another.

Example

The API answers with status 409 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/custom-role-limit-reached",
  "title": "This organisation has as many custom roles as it may",
  "status": 409,
  "code": "custom_role_limit_reached",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

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