Errors

invalid_range

400 – Invalid range. A page-view read covers a range, and this one starts after it ends.

Invalid range. Answered with 400.

What it means

A page-view read covers a range, and this one starts after it ends.

What to do

Send from and to as ISO dates, from no later than to.

The body

{
  "type": "https://tigby.eu/problems/invalid_range",
  "title": "Invalid range",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "invalid_range",
  "doc_url": "https://docs.tigby.eu/errors/invalid_range",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.