Error codes
analytics.invalid_window
The `[since, until)` window on an `/v1/analytics/*` endpoint is inverted or zero-length.
analytics.invalid_window is returned at HTTP 400.
When this fires
Returned when since is greater than or equal to until on any windowed analytics endpoint. The window is required to be half-open and non-empty so the bucket math is well-defined and the response can be bounded.
What to do
Send a window where since is strictly before until. If you are computing the bounds programmatically, double-check that you have not swapped the two values or accidentally chosen the same instant for both.
See also
- SDK reference — the Python and TypeScript SDKs raise typed exceptions for codes in this namespace.
- Error code index — every code the runtime can return.