Skip to main content

Error response format

MemoryOS returns structured JSON errors:

HTTP status codes

Error codes

The following reference covers common integration errors and the feature/review/rate-limit codes used by these guides. Endpoint-specific errors are documented with their contracts.
Current releases do not emit VAL_* codes. Validation failures are returned as REQ_422.

Retry and recovery

Example key/tenant rate-limit response:
This response also carries Retry-After: 20. The interval is an example, not a fixed retry delay. A per-user ingestion quality-gate outcome (such as L1) can instead be a nonfatal HTTP 200 body; inspect status and blocked_reason, not only HTTP status. For REV_409, source_review_target_busy_retry allows a bounded retry of the unchanged intended choice after backoff. source_review_stale_or_closed requires fresh retrieval/inspection; do not regenerate a version token. PREF_409 caused by disabled explicit preferences requires backend configuration, not repeated requests. See rate limits, source review, job status and user export.
Memory Passport and Universal Memory are frozen in private beta and disabled by default. Their entry points return 404 FEATURE_404 with memory_passport_not_available unless explicitly enabled.
Some Memory Passport flows are intentionally not error-driven:
  • POST /v1/universal/memories/retrieve returns an empty list with permission_status: "no_grant" when a user has not granted this agent access
  • revocation therefore looks like a clean empty retrieve result, not a 403
This behavior is deliberate so an agent cannot use error differences to infer more than the user granted.