USER_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/user-no-roles",
"title": "Validation Error",
"status": 422,
"code": "USER_NO_ROLES",
"detail": "At least one role is required",
"instance": "/…",
"traceId": "…"
}When it happens
A user cannot be left without roles.
How to fix it
Assign at least one role.