| 400 | invalid_request | A field, query param, or the request body failed validation. |
| 400 | invalid_cursor | The pagination cursor is invalid. |
| 401 | invalid_token | The automation token is missing, malformed, unknown, expired or revoked. |
| 401 | authentication_required | A management endpoint was called without a signed-in session. |
| 403 | invitation_email_mismatch | Signed-in email does not match the invitation; sign in with the invited address. |
| 403 | invitation_email_unverified | Signed-in email is not confirmed; confirm the address, then open the invitation link again. |
| 402 | insufficient_credits | Not enough credits to start the scan. |
| 404 | not_found | The resource does not exist, or belongs to another project (isolation). |
| 404 | no_baseline | No baseline is selected for the project (comparisons). |
| 409 | idempotency_conflict | The same Idempotency-Key was reused with a different payload. |
| 409 | prompt_set_changed | The monitored prompt set changed between quote and reservation; re-quote. |
| 409 | run_not_complete | A run referenced by a comparison is not complete yet. |
| 409 | token_limit_reached | The project already has the maximum number of active tokens. |
| 409 | invitation_expired | The invitation has expired. |
| 409 | invitation_revoked | The invitation was revoked and is no longer valid. |
| 409 | invitation_already_accepted | The invitation was already accepted. |
| 409 | invitation_limit_reached | Too many pending invitations for the workspace; revoke one and try again. |
| 409 | invalid_state | The action is not allowed in the current state (e.g. removing a workspace owner, or a stale optimistic-lock version). |
| 409 | assistance_exhausted | The one funded AI-assisted setup has already been used for this request. |
| 409 | assistance_in_progress | An AI suggestion is already being prepared (lease in progress). |
| 405 | method_not_allowed | HTTP method not allowed for this endpoint. |
| 413 | request_too_large | The request body exceeds 64 KiB. |
| 415 | json_required | A write request was not sent as application/json. |
| 429 | rate_limit_exceeded | Per-token rate limit exceeded (Retry-After: 60). |
| 502 | website_unreachable | The website could not be read (crawl failed). |
| 502 | upstream_unavailable | AI model or upstream service is temporarily unavailable (may return 503). |
| 503 | service_unavailable | Wiring, rate limiter or auth backend is unavailable. |
| 503 | queue_unavailable | The scan queue is unavailable (scan create). |
| 503 | evidence_unavailable | Comparison evidence is unavailable for a corrupt run. |
| 503 | unavailable | Service is temporarily unavailable (generic unavailability). |
| 400 | invalid_signature | Stripe webhook signature missing or verification failed. |
| 409 | billing_customer_required | No Stripe customer is linked yet — start Checkout before opening the Customer Portal. |
| 502 | checkout_failed | Stripe Checkout session was created without a redirect URL. |
| 503 | billing_not_configured | Stripe price ids are not configured for this Worker environment. |
| 500 | webhook_processing_failed | Verified Stripe webhook event could not be fulfilled; Stripe should retry. |
| 500 | internal_error | Unexpected server error, or a response failed its own schema. |