Skip to content

sdk_role_not_allowed

HTTP status 403
Area Keys and SDK sessions
Problem type https://docs.nexafone.so/errors/sdk_role_not_allowed

The detail explains the occurrence; it can read, for example:

  • New SDK users can be given … or a role below it.
  • The role claim names no role.
  • The role … for the store … (…) is not one of Nexafon’s roles: owner, admin, supervisor, agent or viewer.
  • Workspace owners cannot sign in through the SDK.

The request is understood but refused; retrying it unchanged fails again.

{
"type": "https://docs.nexafone.so/errors/sdk_role_not_allowed",
"title": "Forbidden",
"status": 403,
"code": "sdk_role_not_allowed",
"detail": "New SDK users can be given … or a role below it.",
"requestId": "01J9Z8Q4TQ3W6M5V2X7Y8Z9A0B"
}

Match on code, never on detail: the wording may change. See Problem Details.