Errors
invalid_date_range
400 — Invalid date range parameters
What happened
The from and to values you passed are not a usable date range.
Why it usually happens
One of the two is not a YYYY-MM-DD date, or from falls after to.
How to fix
- Write both dates as
YYYY-MM-DD— for example?from=2024-01-01&to=2024-12-31. - Put the earlier date in
from; it must be on or beforeto. - Check that both are real calendar dates.
Envelope
{
"error": {
"code": "invalid_date_range",
"message": "'from' and 'to' must be YYYY-MM-DD dates, and 'from' must be on or before 'to'.",
"param": "query.from",
"doc_url": "https://docs.fullvision.io/errors/invalid_date_range",
"trace_id": "tr_01HXYZ..."
}
}