AUTH_KEY_NO_ROLES
At least one role is required.
422 Validation Error · request handling
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/auth-key-no-roles",
"title": "Validation Error",
"status": 422,
"code": "AUTH_KEY_NO_ROLES",
"detail": "At least one role is required",
"instance": "/…",
"traceId": "…"
}When it happens
An API key cannot be created with an empty role list.
How to fix it
Request the key with at least one role.