Error Messages¶
When a request fails, you get an HTTP error status and a JSON body that tells you what went wrong:
{
"status": "failed",
"command_name": "vold",
"error_code": "7000000",
"error_message": "That ticker symbol doesn't look valid. Please check it and try again.",
"target": "ticker"
}
The error_message explains the problem in plain language. The error_code is for your
code — it never changes between releases, so it's safe to branch on. (Messages may be
reworded over time; codes won't.)
Error catalog¶
| HTTP | error_code |
Meaning |
|---|---|---|
| 400 | 7000000 |
The request was invalid — usually a malformed ticker, an out-of-range slice time, or a query parameter the endpoint doesn't accept. |
| 401 | 7000008 |
Your API key is missing or invalid. Check the X-API-Key header. |
| 404 | 7000001 |
The ticker has no data, the DTE window has no matching expiry, or the endpoint isn't published. |
| 403 | 7000005 |
This data isn't included in your current plan. |
| 409 | 7000009 |
The data changed while a multi-page request was in progress. Start the request again. |
| 422 | 7000006 |
The data couldn't be prepared right now. Retry shortly. |
| 500 | 7000002 |
Something went wrong on our end. Retry, or contact support if it persists. |
| 502 | 7000003 |
Data needed for this request couldn't be retrieved. Retry shortly. |
| 503 | 7000007 |
The service is briefly unavailable. Retry in a moment. |
| 504 | 7000004 |
The request took too long. Retry. |
What to do about each¶
7000000/7000001— something in your request needs fixing. Check the ticker spelling, and for slices useHH:MMET or an ISO 8601 timestamp with a UTC offset within 09:25–16:05 ET. Query parameters must match the endpoint's names exactly: an unrecognized name is rejected rather than ignored, and theerror_messagelists the names that endpoint accepts. A7000001can also mean the path (or HTTP method) isn't a published endpoint — check it against the API reference. See Making Requests. Just after the open, a route waiting for its first slice returns200withdata_status: "awaiting_first_slice", not404— see At the open. Iftargetismin_dte, use the DTE listed by/v1/expiries/{ticker}.7000008— your API key is missing or invalid. Send it in theX-API-Keyheader. See Authentication.7000005— that endpoint isn't part of your plan. See Authentication.- Everything else (
7000002–7000004,7000006,7000007,7000009) — temporary. Wait a moment and retry; if7000002keeps happening, contact support.
Rate limits & quotas (429)
A 429 means you hit a rate limit or quota. The response carries a Retry-After
header (seconds to wait before retrying) and the same JSON body as any other error,
with error_code 7000007:
{
"error_code": "7000007",
"error_message": "The service is briefly unavailable. Please try again in a moment."
}
Honor Retry-After rather than retrying immediately. See
Rate Limits & Quotas.