That date doesn't work
The bad_date error: why it happens and how to fix it.
Code: bad_date. Status: 400.
Why it happens
A date isn't in the form 2026-12-03, from is after to, or the dates cover more than 732 days.
How to fix it
Send from and to as year-month-day, oldest first.
What the answer looks like
Example answer
{
"error": {
"code": "bad_date",
"message": "A short message about this call.",
"docs": "https://usetotems.com/docs/errors/bad_date"
},
"request_id": "req_..."
}The answer can also have field and help. See all error codes.
Was this useful?
Your answer stays in this browser.
Last checked: 2026-12-03Plain MarkdownSomething wrong? Tell us