Errors & retries
HTTP status codes and actionable recovery.
RFC 9457 problems
Failed /v1 requests return application/problem+json with type, title, status, detail, instance, code and invalid_params (empty when there are no field-level details). Log the X-Request-ID response header for tracing. The type URL identifies the specific failure; the table shows representative codes.
{
"type": "https://ohlc.io/problems/rate-limit",
"title": "Rate limit",
"status": 429,
"detail": "Account request allowance is temporarily exhausted.",
"instance": "/v1/eod",
"code": "rate-limit",
"invalid_params": []
}Status codes
invalid-api-keyVerify the bearer token and revocation status.
capability-not-entitledCheck plan, key scope, market, IP and origin permissions.
mutual-funds-not-entitledMutual funds (NMFQ and FSRV listings) need the Commercial or Scale plan.
symbol-not-resolvedCheck the ticker, qualify it as MIC:TICKER, and use the correct symbol_at date.
resource-not-foundCheck the path and record ID; unknown /v1 paths return it.
method-not-allowedUse a method listed in the response's Allow header.
authorization-changedRetry with the current entitlement; exports may not be ready.
invalid-requestCorrect the query or request body; read the problem detail.
rate-limitHonor Retry-After; concurrency-limit is also a 429.
daily-credit-limitDaily credits are spent; retry after 00:00 UTC (Retry-After) or upgrade.
internal-errorUse bounded retries and retain the X-Request-ID header.
dataset-unavailableNo source is connected to this dataset; no retry changes the answer.
query-timeoutNarrow the request; when Retry-After is present (data-busy, movers), retry after it.
Retry deliberately
Honor Retry-After in seconds for 429. X-RateLimit-Reset is a Unix timestamp for token-bucket recovery. Use bounded backoff for transient errors. Correct invalid parameters and credentials before retrying. Unknown /v1 paths return 404 resource-not-found, and a method the resource does not take returns 405 method-not-allowed with an Allow header, both before authentication.