Skip to main content

Errors

Synchronous client errors return RFC 9457 application/problem+json:

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
{
  "type": "https://ledger.enzuzo.com/errors/ledger/invalid-request-body",
  "title": "Invalid Request Body",
  "status": 400,
  "detail": "payload failed schema validation",
  "errors": ["categories: Invalid option: expected one of \"necessary\"|\"preferences\"|\"analytics\"|\"marketing\""]
}

The exact type URIs are still being catalogued. A record that passes the synchronous checks (202) but fails during asynchronous processing has no client-visible failure path yet; until that ships, confirm important writes by reading them back.

Did this answer your question?