AISOURCEOFTRUTH · EVIDENCE ROOMS

Error codes

Every error is JSON { code, message, remediation, retryable, docs_url }. Codes are stable and only ever added to. Also as markdown and JSON.

CodeHTTPWhat to do
not_found404Check the id. Evidence is amend-only and never moves.
method_not_allowed405Evidence Rooms is amend-only: only GET and POST exist. No PUT or DELETE.
payload_too_large413Reduce the record body. Artifacts live with their owners; records carry metadata only.
unsupported_media_type415Send Content-Type application/json (or the record media type) on ingest.
invalid_record422Check the request against the API reference.
digest_mismatch422sha256 must equal the hash of the exact bytes uploaded. Recompute and resubmit.
signature_invalid401The upload signature did not verify against your registered signing key.
unauthorized401Sign in (passkey or identity provider), or send an access token from /oauth/token as a Bearer token.
forbidden403This action is not permitted for your tier or class.
insufficient_scope403Your token lacks the scope this action needs, or is scoped to another case.
rate_limited429Slow down and honor Retry-After.
idempotency_conflict409This Idempotency-Key was used with a different request body. Use a fresh key.
validation_error422One or more fields failed validation. See message for the failing path.
conflict409The resource already exists in a conflicting state.
read_only409This case is read-only (over its plan's limits, or closed). It stays viewable, verifiable and exportable; uploads and invites wait for a plan.
payment_required402The action needs a plan, credits, or a higher monthly cap. The response lists prices and the routes to pay. Reading and verifying are always free.
internal_error500An unexpected error occurred. The request may be retryable.