NX-4004 APPROVAL_INVALID
DENY · stage: approval
The presented approval is unknown, unapproved, expired, used, or for a different request.
Why it happens
Section titled “Why it happens”The approval id is unknown, not approved yet, rejected, expired, already used, or was issued for a different request (other value, resource, agent or actor).
How to fix it
Section titled “How to fix it”Retry the exact request that was approved, once, before gateway.approval_ttl_seconds. Changed requests need a new approval.
Why Nexum checks this
Section titled “Why Nexum checks this”Approvals are single-use and bound to the exact request, so one approval can’t be stretched to a bigger or different action.
Investigate
Section titled “Investigate”nexum audit search --decision DENYnexum trace inspect <request-id> # which check decided, and the delegation pathSee all reason codes.