Errors

Errors are a JSON object with a detail field: a sentence for our own refusals, a list of field errors for schema validation.

StatusdetailWhen
400a sentenceA malformed object path (absolute, with .. or a backslash), a start or end off the hour, a window over the limit, a format the dataset is not offered in, an unknown series or market, too many files or rows. On a purchase: a window whose end is before its start, a schema code nothing is called (the message names the one you meant), or more schemas than one download may carry.
401missing or invalid api keyNo Authorization header, a malformed key, or a revoked one. Also a wrong email or password at login.
402plan '...' does not cover ..., or a basket the balance does not reachThe path or dataset is paid and the plan in force is Free, including a paid plan past its expiry. On POST /v1/downloads it means something else and carries a body rather than a sentence: the shortfall in micros, the quote it came from, and the basket id to top up against. The basket is kept, so paying finishes it without the request being made again.
403... is newer than this plan readsThe plan covers the dataset, but the hour is past its freshness cutoff. The same rows arrive later.
404not foundUnknown market, file, key or order.
409conflictEmail already registered, already on that plan, an order already open, a selection with nothing sellable in it, a basket id that belongs to another account - or a stable URL for an hour with several parts, whose body lists each part's own URL.
413more markets than one basket may carryThe selection is larger than a single purchase takes. Narrow the window or the series and buy it in parts.
422a list of field errorsA field is missing or has the wrong type.
429quota or rate limitThe daily signed-URL quota is used up, or the key's requests a minute are; the second carries Retry-After.