Skip to content

Errors

Errors return a JSON body. Most use this shape:

{
"success": false,
"error": "Rate limit exceeded: 300 requests per minute",
"error_code": "RATE_LIMIT_EXCEEDED",
"details": { "limit": 300, "window": "minute" }
}

Request validation errors and some resource errors use a detail field instead:

{ "detail": "Conversation not found" }
Code Meaning What to do
400 The request is malformed. Fix the request.
401 The key or token is missing, invalid or revoked. Check the key; refresh an expired token.
402 Your plan does not include this feature. Upgrade in Settings → Billing.
403 The key lacks a scope, or tenant_id does not match the key’s tenant. Use the right key; read detail.
404 The resource does not exist or belongs to another tenant. Check the ID.
409 The action conflicts with current state, such as approving a proposal twice. Reload the resource.
410 The resource has expired, such as an old proposal or document. Request a new one.
422 A field is missing or invalid. detail lists each problem field.
429 Too many requests this minute. Wait and retry with backoff.
502 An upstream service failed, such as your MCP Gateway or the answer engine. Retry; check your gateway if it repeats.
503 The crew is temporarily unavailable. Retry with backoff.