01Errors and outcomes
Keep two things apart:
- Errors mean Arc could not take the request: a bad credential, an invalid body, a reused
request_id. They come back as HTTP errors, and nothing is recorded or run. - Outcomes are valid answers: denied, held, failed. They come back as an action with a
status, and they are recorded as evidence. A denial is a normal response, not an error.
02Error shapes
JSON
// Most errors{ "detail": "This request_id was already used for a different request." }// With a machine-readable code{ "detail": "The parameters do not fit 'refund:create': …", "code": "INVALID_PARAMETERS" }// Body validation (422){ "detail": [{ "loc": ["body", "purpose"], "msg": "Field required", "type": "missing" }] }// Authentication (401){ "detail": "Not authenticated." }Example
03What to do
| Code | What to do |
|---|---|
| 401 | Check the credential: it may be expired, revoked or rotated, or the agent disabled. Arc does not say which. Do not retry until fixed. |
| 404 | The action id is wrong, or belongs to another agent. |
| 409 | You reused a request_id for a different request. Use a new one for a new action. |
| 422 | Fix the request. With INVALID_PARAMETERS, the message says which parameter does not fit the action definition. |
| 429 | Too many requests (RATE_LIMITED). Wait the number of seconds in the Retry-After header, then retry with the same request_id. Nothing was recorded. |
| 500, 503 | Retry with the same request_id, with backoff. If the first attempt was recorded, you get it back rather than a second action. |
| Network error | Same as above: retry with the same request_id. |
04Retrying safely
- Give every intended action its own
request_id, derived from your own work item (e.g.refund-ticket-77), and reuse it on every retry of that action. - Arc performs each decision at most once. Replaying a request returns the same action; it never sends to your system again.
- Over MCP, always pass
request_id. Without it, Arc generates a new one per call, and a retry becomes a new action.
Never retry an unknown outcome blindly
unknown means Arc sent the request but could not tell whether the system acted. Arc does not retry it, and neither should your agent: check the system, or ask a person, before trying again with a new request_id.05Limits
| Limit | Value |
|---|---|
| parameters | 50 keys, 8,000 bytes |
| purpose | 500 characters |
| resource id | 200 characters |
| request_id | 100 characters |
| Time to perform an allowed action | 1 hour from the decision |
| Approval window | 24 hours, or until the grant expires if sooner |
| Connection timeouts | 5 seconds to connect, 15 seconds to respond |
| Response read from your system | 1 MB |
| Agent requests (actions, status checks and MCP calls) | 600 a minute per agent, with bursts of up to 120 |
| Failed sign-ins from one address | 20 a minute; past that, the address is refused for a short time |
06Codes
Every status, reason, refusal and failure code is listed in Statuses and refusal codes.
