Docs / SynthEvents / Errors / range-missing

range-missing

The request names no time range.

  • Status: 400 Bad Request
  • Route: POST /api/v1/generate-events
  • Description: range is missing: expected an object with from and to
  • Details: Empty.

Why It Happens#

The body has no field range, or its value is null.

How to Fix It#

Add the field range, as an object with the instants from and to:

"range": {
  "from": "2025-01-01T00:00:00Z",
  "to": "2026-01-01T00:00:00Z"
}