Skip to content
Docs

Statuses and refusal codes

Every action status, decision reason, refusal and failure code Arc returns.

01Action statuses

statusMeaningFinal?
succeededArc performed the action and the system accepted it.Yes
failedArc performed the action and the system rejected it, or nothing could be sent. See execution.failure_code.Yes
unknownArc sent the request but cannot know whether the system acted: the connection broke or timed out after sending. Check the system before trying again.Yes
heldWaiting for a person’s approval.No
executingAllowed or approved, and Arc is performing it now.No
rejectedA person rejected it. Nothing ran.Yes
expiredNobody approved it in time. Nothing ran.Yes
refusedDenied, or Arc refused to act after the decision. Nothing ran. See reason_code or refusal.code.Yes

02Decision reason codes

Every decision has a reason_code and the explanation below. Arc checks in this order and stops at the first failure: agent, grant validity, action, resource, principal, constraints, then amount and approval rules. Policies are applied last.

reason_codedecisionexplanation
AUTHORIZEDALLOWThe request is within the agent’s delegated authority.
APPROVAL_REQUIREDREQUIRES_APPROVALThe amount is within the grant’s limit but above its approval threshold: a human must approve this action.
POLICY_REQUIRES_APPROVALREQUIRES_APPROVALThe grant allows this action, but an organisation policy requires human approval first.
AGENT_MISMATCHDENYThe request names a different agent from the one that authenticated.
AGENT_INACTIVEDENYThe agent is disabled.
GRANT_NOT_FOUNDDENYNo authority grant with that identifier exists for this agent.
GRANT_REVOKEDDENYThe authority grant has been revoked.
GRANT_NOT_YET_ACTIVEDENYThe authority grant is not yet in effect.
GRANT_EXPIREDDENYThe authority grant has expired.
NO_APPLICABLE_GRANTDENYNone of the agent’s authority grants covers this action.
ACTION_NOT_PERMITTEDDENYThe grant does not permit this action.
RESOURCE_OUT_OF_SCOPEDENYThe target resource is outside the grant’s resource scope.
PRINCIPAL_NOT_IN_SCOPEDENYThe grant does not let the agent act on behalf of this principal.
PRINCIPAL_INACTIVEDENYThe employee the agent would act for is not an active member of the organisation.
CONSTRAINT_UNSUPPORTEDDENYThe grant has a constraint Arc cannot evaluate, so the request is denied.
PURPOSE_NOT_PERMITTEDDENYThe stated purpose is not one the grant permits for this action.
AMOUNT_REQUIREDDENYThe grant limits this action by amount, but the request gives no amount and currency.
CURRENCY_NOT_PERMITTEDDENYThe grant does not permit this currency for this action.
LIMIT_EXCEEDEDDENYThe amount exceeds the grant’s limit for this action.
POLICY_DENIEDDENYAn organisation policy forbids this action. The explanation names the policy.

03Refusal codes

Arc checks everything again just before it acts. If anything has changed since the decision, it refuses to act and records why, in refusal.code and refusal.category.

categorycodesTypical cause
DECISIONDECISION_DENIED AUTHORIZATION_EXPIREDThe decision was a denial, or an allowed action was not performed within an hour.
APPROVALAPPROVAL_PENDING APPROVAL_REJECTED APPROVAL_EXPIRED APPROVAL_MISSINGThe approval is not in a state that lets Arc act.
AUTHORITYAGENT_DISABLED PRINCIPAL_INACTIVE GRANT_REVOKED GRANT_AMENDED GRANT_EXPIRED GRANT_NOT_ACTIVE CREDENTIAL_INVALID POLICY_DENIEDThe agent, principal, grant or policies changed while the action waited.
REQUESTACTION_NOT_DEFINED DEFINITION_CHANGED INVALID_PARAMETERSThe action definition was revoked or amended, so Arc will not send a request nobody approved.
STATECONNECTION_DISABLED SECRETS_UNAVAILABLE ALREADY_EXECUTED EXECUTION_REFUSEDThe system is disabled, its credentials cannot be used, or the action already ran.

04Execution failure codes

failure_codeMeaningWas anything sent?
HTTP_ERRORThe system answered with an error status (4xx or 5xx). Its status is in http_status.Yes
REDIRECT_REFUSEDThe system answered with a redirect. Arc never follows redirects.Yes
CONNECTION_FAILEDArc could not connect to the system.No
TARGET_NOT_ALLOWEDThe address resolved to a private or otherwise forbidden network.No
AUTHENTICATION_FAILEDArc could not obtain credentials, e.g. the OAuth token request failed.No
OUTCOME_UNKNOWNSent, but the outcome is unknown (status unknown).Possibly