BizKitHub
PERMISSION_MEMBER_HAS_NO_PERMISSION

Member has no permission.

Aus BizKitHub Docs, der Referenz der API-Fehlercodes

Titel und Beschreibungen der Codes pflegen wir auf Englisch.

HTTP 403Berechtigung
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")`.

So beheben Sie es

  1. 1

    Ask an organisation administrator to grant the missing permission to your role.

  2. 2

    Verify in the admin UI that the role really lacks this permission (sometimes a parent permission is needed).

Beispielantwort

Die API antwortet mit HTTP 403 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.

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"
}