breach_no_terms: The stream carries no accepted terms
Breach reports apply only to streams opened with accepted terms. Nothing moves.
What to do
- Send reports for terms streams only.
On the wire
HTTP 409, error type state_error.
Only the breach report routes answer this code: POST /owner/v1/streams/{id}/breach-reports (1.7.0) and, where the deployment serves it, the oracle's POST /oracle/v1/attest/breach (1.8.0). Both send errorDetail to every client, with or without Dynamo-Error-Detail: 1:
{
"error": "state",
"reason": "breach_no_terms",
"detail": "…",
"errorDetail": {
"type": "state_error",
"code": "breach_no_terms",
"message": "…",
"param": "report",
"doc_url": "…/errors/breach_no_terms.md",
"fix": "the stream was opened without accepted terms; breach reports apply to terms streams only"
}
}
See all error codes.