Skip to main content

Agent API errors

The Agent API uses the same error format and HTTP status codes as the Human API. All errors return RFC 7807 problem-details JSON.

Common cases for agents

CodeMeaningWhat to do
401Invalid or expired tokenCall POST /v1/auth/agent-token again and use the new token
403No permission for this pathHuman must add/update a policy granting the agent read (or write)
403Resource limit reached (type: "resource_limit_exceeded")Organization tier limit hit. Human must upgrade plan at /settings/billing
404Vault or secret not foundCheck vault_id and path
410Secret expired, deleted, or over max_access_countUse a different secret or ask human to create a new version

See Human API errors and Error codes reference for the full list.