A failed read answers a fixed message and reports the real one
An error message passed through verbatim can publish internals, such as a failed query or the name of a component, to any caller who can read the resource.
The rule
Normative: this is the rule
- Where a read fails, the response body MUST carry a fixed message naming what failed and nothing more.
- The underlying error MUST NOT be published to the caller; the implementation reports it through its own error channel.
- A cacheable response MUST meet this as every other kind does: an error shape is not exempt because it is served from a different response path.
What it means
A failed read does not forward whatever the underlying failure said: the caller gets one fixed message naming what failed, and the real detail goes only to the implementation's own error channel. This holds even on an endpoint whose successful response is cacheable — a cacheable response path is not an exemption from the rule, so an error answer does not slip through it unfiltered.
Example
A storage failure that would otherwise say exactly what broke:
GET /api/flowdrop/categories
{"success": false, "error": "Failed to fetch categories", "error_code": "INTERNAL_ERROR"}Nothing about the storage failure itself — its own raised message — reaches that body.
Why
Recorded under OPEN-25.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · META-3 · changed in spec 1.0