API errors
Every error code the Archee API answers with, what it means and the one way on.
The API answers a failure with application/problem+json. Each answer carries code, status, detail and a request_id. The type is https://docs.archee.studio/errors/<code>, which opens the code below. Quote the request_id when you ask for help.
{
"type": "https://docs.archee.studio/errors/limit",
"title": "Limit",
"status": 429,
"detail": "…",
"code": "limit",
"request_id": "9f2c41a07b3e"
}MCP calls report their own errors; see MCP troubleshooting.
Your request
bad_request
Status 400. A parameter is malformed. Fix it and send the request again.
unauthorized
Status 401, with WWW-Authenticate: Bearer. You are not signed in, or the token is missing, expired or revoked. Sign in again or send a valid token.
forbidden
Status 403. You are signed in but not allowed to do this. Ask whoever owns it for access.
not_found
Status 404. The resource does not exist. Check the id.
method_not_allowed
Status 405. The path does not accept that method. Use one it accepts.
conflict
Status 409. The request clashes with the current state. Read the detail, then retry on the current state.
precondition_failed
Status 412. The If-Match you sent no longer names the resource. Fetch it again and resend.
too_large
Status 413. The body is over the size limit. Send less.
invalid
Status 422. The request is well formed but not acceptable. Change it as detail says.
validation_error
Status 422. Fields failed validation. The errors list gives each field’s location and message; fix those fields.
idempotency_key_reused
Status 422. That Idempotency-Key was first used for a different request. Use a new key for a new request.
Your account
insufficient_credits
Status 402. Your balance cannot cover the run. Top up on the Billing page. needed_micro and available_micro appear when the amount is known. See Plans and credits.
plan_denied
Status 403. Your plan does not include this scope of Archee MCP. Upgrade on the Billing page. See Limits and credits.
mcp_disabled
Status 403. Archee MCP is not included in your plan. Upgrade on the Billing page.
limit
Status 429. A limit is reached. Wait Retry-After seconds, then retry. A rolling 24-hour limit answers 3600.
Chats and sheets
turn_active
Status 409. A turn is already working in this chat, so your message is a steer, not a new run. Wait for the turn to finish.
stale_revision
Status 412. The sheet moved on since you opened it. Reload it and make the change again.
idempotency_in_progress
Status 409. A request with this Idempotency-Key is still being handled. Wait, then read the result instead of resending.
Our side
internal_error
Status 500. The request failed on our side. Try again in a moment. If it keeps failing, quote the request_id.
bad_gateway
Status 502. A service behind the API answered with something unusable. Retry after a few seconds.
unavailable
Status 503. A service is not reachable right now. Retry after a few seconds.
paused
Status 503. New paid work is paused on purpose. Try again later.
turn_not_queued
Status 503. Your message is saved but the run could not be queued. message_id names the saved message: send it again with that message_id in the request body and the run starts for it, without a second copy.
timeout
Status 504. A service did not answer in time. Retry, with less work if you can.