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 emitVAL_*codes. Validation failures are returned asREQ_422.
Retry and recovery
Example key/tenant rate-limit response:
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.
Consent and universal memory note
Some Memory Passport flows are intentionally not error-driven:POST /v1/universal/memories/retrievereturns an empty list withpermission_status: "no_grant"when a user has not granted this agent access- revocation therefore looks like a clean empty retrieve result, not a
403