BengarTrust infrastructure

Docs · Guides

Error reference

What each code means, whether it may be retried, and what to do about it.

How to read this

Every response carries a request_id. Quote it in support. The Retry? column is the important one, and it is not advice about politeness — retrying something marked “never” can perform an action twice.

Decisions and authorization

CodeMeaningRetry?What to do
policy_no_matchNo rule matched the request.NoAdd a rule, or accept the refusal.
policy_requires_approvalA person must decide.NoWait for the approval; do not proceed.
policy_not_configuredThe project has no active version.NoPublish and activate one.
risk_requires_approvalRisk raised the bar.NoWait for the approval.
risk_deniedRisk refused it outright.NoInvestigate the agent.
permit_invalid / revokedThe permit does not verify, or was revoked.NoIssue a new permit.
action_not_coveredThe permit does not cover this action.NoWiden the permit — deliberately.
resource_not_coveredThe permit does not cover this resource.NoSame.
attenuation_violationA delegated permit tried to widen.NoDelegation can only narrow.
usage_limit_exceededA permit counter is spent.NoA new window or a new permit.
agent_frozenThe agent is stopped.NoRelease it, if that is right.
unsupported_constraintThe permit carries a constraint this build cannot enforce.NoRefused rather than ignored, on purpose.

Execution

CodeMeaningRetry?What to do
execution_unknownThe action may or may not have happened.NeverEstablish what happened, then resolve it.
execution_failedThe other side refused. Nothing happened.Yes, with a new nonceFix the cause.
execution_in_progressA concurrent execution is in flight.WaitDo not send a second nonce for the same action.
execution_invalidThe execution block is malformed.NoCheck the fields — url is not one of them.

Credentials, access and transport

CodeMeaningRetry?What to do
api_key_missing / malformedNo usable key on the request.NoSend authorization: Bearer bk_….
api_key_unknown / revokedThat key is not valid.NoMint a new one in the Console.
role_requiredYour roles do not include this operation.NoADMIN is not every role — that is deliberate.
forbiddenAuthenticated, not permitted.NoCheck the role table.
session_missing / invalidThe console session is absent or expired.NoSign in again.
csrf_missing / invalidA mutation arrived without a matching token.NoEcho the CSRF cookie.
rate_limitedToo many requests.Yes, laterBack off.
project_not_foundNo such project — or not yours.NoSame answer a typo gets, on purpose.

Signing and dependencies

CodeMeaningRetry?What to do
signing_unavailableCustody refused or could not be reached, before signing.YesNothing was signed.
signing_unknownCustody may have signed.NeverHold it for a person.
audit_unavailableThe audit trail could not be written.DependsA decision is recorded as degraded rather than silently unlogged.
revocation_unavailableThe revocation registry could not be consulted.YesNot treated as “not revoked”.
database_unavailableA datastore is down.YesNothing was decided.

Anything named *_unknown means the operation may have happened. Those are the only codes in this document that must never be retried automatically.