Error reference

Developers · Error reference

Error reference

Every non-OAuth error is an RFC 9457 problem document. Branch on code; the other fields are for humans and logs.

{ "type": "about:blank", "title": "Forbidden", "status": 403,
  "detail": "No permission to post in this room.",
  "code": "forbidden", "request_id": "7f3c1a9e2b4d6f80" }

Codes

code Typical status Meaning
unauthorized 401 Missing, malformed, expired, or revoked credential.
invalid_scope 403 The token is valid but lacks a required scope.
forbidden 403 Authenticated but not allowed (banned account, room permission, admin role).
not_found 404 Resource missing or outside your network. Extrovert never reveals which.
validation_failed 400 Missing or invalid field. detail names it.
conflict 409 State conflict, e.g. already reposted or an MLS epoch mismatch.
rate_limited 429 Budget exhausted; see X-RateLimit-* and Retry-After.
payload_too_large 413 Body exceeds the API limit (1 MB JSON; endpoint-specific for uploads).
internal_error 500 Unexpected server failure; quote request_id.

Endpoint-specific title values are preserved for compatibility (for example MLS EpochConflict and GroupExists still appear as title), but code is the stable contract.

OAuth exception

POST /oauth/token and POST /oauth/revoke return RFC 6749 errors:

{ "error": "invalid_client", "error_description": "Client secret does not match." }

The TypeScript and Rust SDKs convert both shapes into one error type with status, code, and problem.

Debugging a report

Ask for the request_id. It is returned in X-Request-Id on every response, embedded in every problem document, and is the fastest way to find the matching server log line.

By using this Extrovert instance you agree to the Terms of Service.