Skip to content

Docs/Troubleshoot Authentication and Access

Concepts & troubleshooting

Troubleshoot Authentication and Access

Diagnose OptionData API key, subscription, rate-limit, query-width, and timeout failures without exposing credentials.

Open product
On this page

Use the HTTP status, stable error code, and request type to separate authentication problems from entitlement, rate-limit, and query-shape problems.

Start with this checklist

  1. Confirm you can sign in to the intended OptionData account.
  2. Confirm you have accepted the Historical Data Agreement.
  3. Open Billing and verify the subscription is trialing or active.
  4. Copy the current key from API Key.
  5. Ensure the application is using that current key—not a value cached before regeneration.
  6. Test one small HTTP request before testing a long-running client.

HTTP status guide

StatusMeaningRecommended action
400Request validation or public SQL guard failedCorrect body fields, dates, filters, or SQL
401Key missing, malformed, stale, or not owned by the current accountRecopy the key and check the bearer header
403Customer recognized but not entitledCheck your subscription at the response's billing_url (/billing)
404Option Chain SNAPSHOT_NOT_FOUND or SYMBOL_NOT_FOUND: no chain stored for that date or symbolCheck the symbol and date
422Historical SQL or Option Chain request exceeded a guardrailNarrow date, symbol, expiration, or strike scope
429Rate limit exceededHonor Retry-After and back off
504Query timed outSplit the request into smaller windows
500Unexpected service failureRetry once, then contact support with the request reference if supplied

A failed renewal payment keeps access for 7 days from the start of the unpaid billing period; after that, requests return 403 until the invoice is paid.

After regenerating a key

The previous portal key stops working immediately. Update every deployment environment and restart consumers. Verify one authenticated HTTP 200 response.

Contact support safely

Send:

  • account email
  • endpoint and approximate timestamp
  • HTTP status and stable error code
  • request reference ID, if the server returned one
  • final four characters of the key only, if identification is necessary

Never send the complete API key, card number, bank details, ClickHouse password, or raw authorization header.

Ask ChatGPT or Claude Code

Copy this prompt, paste it into ChatGPT, Claude, Claude Code, Cursor, or Codex, then add your question. It tells the model to read our public docs first — no API key needed for that step.

You are helping me use OptionData (https://www.optiondata.io/), a historical U.S. equity options data API.

Before answering, fetch these public files (no login required) and treat them as the source of truth:
- https://www.optiondata.io/llms.txt — short product map (same content as https://www.optiondata.io/llm.txt)
- https://www.optiondata.io/llms-full.txt — full API reference
- https://www.optiondata.io/openapi.json — HTTP OpenAPI

Do not invent endpoints, fields, tables, or limits. Prefer `Authorization: Bearer apikey_…` for HTTP APIs.

Products:
- Historical SQL: POST https://www.optiondata.io/api/historical/sql
- Option chain: POST https://www.optiondata.io/api/option-chain

I am asking about: Troubleshoot Authentication and Access
- Markdown: https://www.optiondata.io/md/troubleshoot-api-access
- HTML docs: https://www.optiondata.io/docs/troubleshoot-api-access

My question: