PERMISSION_MEMBER_HAS_NO_PERMISSIONMember has no permission.
HTTP 403Permission
The authenticated member is part of the organisation but their role does not grant access to the requested module or action. Attach the module/action as parametric context when throwing — e.g. `throw ApiError("PERMISSION_MEMBER_HAS_NO_PERMISSION", "calendar:update")`.
How to resolve
- 1
Ask an organisation administrator to grant the missing permission to your role.
- 2
Verify in the admin UI that the role really lacks this permission (sometimes a parent permission is needed).
Example response
The API answers with HTTP 403 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.
application/json
{
"state": "error",
"code": 403,
"message": "Member has no permission.",
"errorCode": "PERMISSION_MEMBER_HAS_NO_PERMISSION",
"hint": "The authenticated member is part of the organisation but their role does not grant access to the requested module or action. Attach the module/action as parametric context when throwing — e.g. `throw ApiError(\"PERMISSION_MEMBER_HAS_NO_PERMISSION\", \"calendar:update\")`.",
"documentationUrl": "https://docs.bizkithub.com/errors/PERMISSION_MEMBER_HAS_NO_PERMISSION"
}