breach_time: The report's times do not fit
The breach time lies outside the measured window or before the stream started, the report was issued before its window closed, the window has not closed yet, or the report is dated in the future. Nothing moves.
What to do
- Report once the window has closed, with the breach time inside it.
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_time",
"detail": "…",
"errorDetail": {
"type": "state_error",
"code": "breach_time",
"message": "…",
"param": "report",
"doc_url": "…/errors/breach_time.md",
"fix": "the report's window or breach time lies outside the stream's life or the window"
}
}
See all error codes.