GebSecure Docs v0.1.0

Reference · Error codes

Error: forbidden

The caller is authenticated but not allowed to do this. details.reason distinguishes organization access policies.

HTTP 403 · problem type: https://docs.gebsecure.com/errors/forbidden · title: forbidden

Common causes#

  • The principal lacks the permission or scope (for example policies:deploy, approvals:decide, mcp:connect).
  • An organization access policy: details.reason is one of wrong_region, org_pending_deletion, ip_not_allowed, sso_required, mfa_required.
  • An approval that cannot be used: a different requester, expired, already consumed or a snapshot hash mismatch.

What to do#

  • See Troubleshooting for each details.reason.
  • Grant the missing permission through a role, or use a credential with the needed scope.

In the SDKs#

SDK Error type
TypeScript PermissionDeniedError
Python PermissionDeniedError
Go ErrPermissionDenied
Java PermissionDeniedException
.NET PermissionDeniedException

Every error response is RFC 9457 application/problem+json; see the error model.