Errors

Every failure the API itself answers arrives in the same envelope, whatever went wrong. A call refused in front of it by the API Gateway — a throttle, or a timeout — can arrive without one, so read the status first and the body second. This page says what each status means for you as a caller: whether the request has to change, whether a billing action is needed, and whether sending the same bytes again can ever succeed.

One envelope for every failure

On a failure success is false, data is null, and error carries the code your client switches on. The requestId is repeated inside error so a consumer handling only the error object stays correlatable, and meta.source names the upstream a Catalog Item error was normalized from — control-plane responses omit it. Switch on error.code, not on the message: the message is written for a person and may be reworded.

{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_ERROR",
    "message": "Upstream observatory provider unavailable",
    "requestId": "req_01HXYZ"
  },
  "meta": {
    "requestId": "req_01HXYZ",
    "servedAt": "2026-06-01T00:03:12Z",
    "apiVersion": "3.0.6"
  }
}

What each status means

What each status means
StatusError codesCauseRetryWhat to do
400
  • VALIDATION_ERROR
  • SPAN_INVALID
  • SPAN_BELOW_MINIMUM
  • SPAN_CAP_EXCEEDED
The request never reached the datasource. A Catalog Item identifier we do not serve, a missing or malformed station id, or a time span that is only half given, shorter than one increment, or wider than the Catalog Item allows per call.No — change the request firstCorrect the request and send it again. Nothing was charged, and an identical retry returns an identical 400.
401
  • AUTH_REQUIRED
The call carried no usable credential. It is refused before any handler runs, so nothing is metered and no Catalog Item's code sees the request.No — change the request firstSend your active key in the x-ctie-api-key request header. A console session token is not accepted here. How authentication works
402
  • USAGE_CAP_EXCEEDED
A billing condition, not a defect in your client: the account is past the monthly Usage Cap configured for it. The call was refused before the upstream read and nothing was charged.No — change the request firstRaise or clear the cap in your billing settings. Nothing in your code will change this outcome — until the cap moves, every call returns the same 402. Open billing settings
403
  • SUBSCRIPTION_REQUIRED
  • CATALOG_NOT_IN_PLAN
  • KEY_INVALID
  • NO_ACTIVE_KEY
  • FORBIDDEN
The caller is not entitled to what was asked for: no live subscription, a Catalog Item the plan does not cover, or a key that is no longer the active one — revoked, or past its rotation grace window. A signed-in session holding no active key at all is refused here too, on the surfaces that gate on one. A denial that names none of these arrives as FORBIDDEN — the same verdict, with no further condition stated.No — change the request firstSubscribe to the Catalog Item, or check which Catalog Items your plan covers, on the pricing page. If the key is the stale half of a rotation, send the current one instead. If no key has been issued yet, issue one from your account first — the 404 row below links to it. See pricing
404
  • NO_ACTIVE_KEY
  • NOT_FOUND
There is nothing to answer with: the account holds no active API key, or the resource addressed does not exist.No — change the request firstIssue a key from your account, or correct the path. An unchanged retry returns the same 404. Go to your API key
422
  • BASE_DATE_BEYOND_HORIZON
The request is well-formed — only the anchor is out of reach. It points further ahead than this Catalog Item's forecast reaches, so the window it asks for is one no data can exist for yet. This is the one refusal on the sold data surface you are charged for: the call is metered before the anchor can be checked, so the unit is spent by the time the answer is known.No — change the request firstMove the anchor back inside the horizon and send it again — error.details names the furthest anchor that would have succeeded, so the next call works. To stop paying for this at all, read categoryQuotas[].maxFutureAnchorMinutes from GET /v1/plans before requesting future data: it is public, needs no key, and is keyed by catalogId. Read the field rather than pinning today's number, because the published value is what moves. Not every Catalog Item publishes it: where categoryQuotas[] carries no maxFutureAnchorMinutes for your catalogId — water-level is that case today — the horizon is unknown rather than unlimited, and error.details is the only place the bound surfaces.
429
  • RATE_LIMITED
Too many of your calls arrived at once and the per-call metering write stayed contended past its own retry budget. Nothing was charged and no data was served. A second 429 sits in front of this one: the API Gateway enforces its own request-rate limit before any of this runs, and a call refused there is refused without the envelope.Yes — with backoffWait the number of seconds given in the Retry-After response header, then retry. With no header, back off exponentially from one second — 1s, 2s, 4s, 8s — apply jitter of up to half the wait so a fleet does not resynchronise, and stop after five attempts. Retrying immediately reproduces the contention that caused this.
500
  • INTERNAL_ERROR
An unhandled fault on our side. The request was well-formed and authorised; the failure is ours.Yes — with backoffRetry once after a short backoff, then stop and quote the requestId from the envelope — it identifies the exact call in our logs.
502
  • UPSTREAM_ERROR
The datasource behind the Catalog Item faulted. The request was well-formed and authorised, and the raw upstream error is never surfaced. A call already charged when the fault happened is refunded.Yes — with backoffBack off and retry on the same schedule as a 429: from one second, doubling, with jitter, up to five attempts. If it persists the source is down, not your integration.
503
  • UNAVAILABLE
The metering path itself faulted and the request failed closed. Nothing was charged and no data was served.Yes — with backoffRetry with backoff. There is no Retry-After here — an outage has no bounded ETA — so cap your own schedule instead of waiting on the header.