Troubleshooting
Start with the HTTP status, error.code and requestId. Parse the code for programmatic handling; messages may become more specific over time.
Read an error response
{
"error": {
"code": "INSUFFICIENT_SCOPE",
"message": "Missing required API scope: forecasts:read."
},
"requestId": "8d62a94a-4d08-4ee3-9d34-1b4f829be021"
}
details is optional. The same request ID is returned in X-Request-ID.
Common errors
| Status / code | Likely cause | What to do |
|---|---|---|
401 UNAUTHORIZED | Missing, expired or revoked key | Check the Bearer header and replace the key if needed |
401 INVALID_API_KEY | Incomplete or invalid key payload | Copy a valid newly created key into your secret store |
401 UNSUPPORTED_API_KEY_SUBJECT | Unsupported key identity | Create a new key in Get Forecasts or Submit Forecasts |
403 FORECAST_SOURCE_ACCESS_DENIED | Provider access is inactive or the key cannot submit for this account | Check Submit Forecasts access and contact support if onboarding is incomplete |
403 INSUFFICIENT_SCOPE | Key belongs to the wrong workspace profile | Use a customer key for forecast reads or a producer key for submissions |
403 UNSUPPORTED_API_KEY | Key was not created in Get Forecasts or Submit Forecasts and has no API access | Revoke it and create a new key on the API keys page of your workspace |
404 FORECAST_NOT_PUBLISHED | At least one requested current delivery day has no publication | Check the product horizon and requested days; request published days or wait for release |
404 SUBMISSION_NOT_FOUND | Missing, invalid or another provider account's run ID | Use a runId returned to your provider account |
409 IDEMPOTENCY_KEY_CONFLICT | A key was reused with a different body | Retry the original body or create a new key for a new logical submission |
422 SUBMISSION_REJECTED | One or more intervals violate the contract | Inspect details.issues, fix all reported fields and submit under a new key |
422 DELIVERY_DAYS_OUTSIDE_OFFERING_HORIZON | A current-forecast start and horizon reach outside the product horizon | Request days within the catalog horizon, or use the data endpoint for past delivery days |
422 INVALID_DATE | deliveryFrom or deliveryTo is not a calendar date such as 2026-08-01 | Send local dates in YYYY-MM-DD format without a time or offset; details.parameter names the field |
422 INVALID_DELIVERY_RANGE | deliveryTo is before deliveryFrom, or the range is longer than one request allows | Check the order; split longer periods into consecutive requests. details.rangeDays and details.maxDays show the requested and allowed length |
422 INVALID_LIMIT | limit is outside its allowed range; for date ranges it counts delivery days per page | Keep limit at or below details.maximum and follow pagination.nextCursor for the rest of the range |
422 GATE_CLOSURE_NOT_SUPPORTED | Gate-relative selection on a product without a gate | Use relativeTo=validTime or a fixed asOf, according to your intended decision time |
422 FORECAST_RANGE_TOO_COMPLEX | The requested historical page is too large | Reduce limit; contact support if one day still fails |
Other 422 | Invalid or incompatible parameters | Check the endpoint reference; provide exactly one historical selection mode |
429 PLAYGROUND_RATE_LIMITED | Dashboard playground allowance exhausted | Wait for the returned retry delay; reduce playground request frequency |
500 / 502 | Server or upstream failure | Retry reads with bounded exponential backoff; preserve the request ID if the problem persists |
Retry without duplicating a submission
After a timeout or server error, retry a POST only with the same persisted body and idempotency key. Do not regenerate timestamps or keys on an uncertain retry. An accepted replay returns the original runId; a rejected replay returns the original issues.
Use bounded retries with backoff and jitter. Authentication, permission, validation and idempotency conflicts need corrective action rather than repeated identical requests. Follow Validation & retries for submission-specific details.
Limits and availability
Request rates, date ranges, page sizes and submission sizes are listed under Limits, together with the error each limit returns. Product horizons and output bounds come from the live catalog.
A successful historical response can contain unavailable days or intervals. Inspect the availability reason instead of retrying indefinitely. See historical response semantics.
Webhook delivery problems
Open the webhook in your dashboard to inspect its last response, payload and next retry. Start with the webhook troubleshooting table for signature errors, missing events, duplicates and data-fetch failures. A Delivered event means your receiver accepted it; check your own background worker if processing did not complete.
Support
Email support@telescope.energy for integration, access or onboarding help. Include:
- the problem and UTC request time;
- method, endpoint, HTTP status,
error.codeandrequestId; - relevant product, forecast version, submission run or webhook event IDs;
- a sanitized request and response when useful.
Never send API keys or signing secrets. Remove proprietary forecast values unless needed to explain the issue.
Account request limits
All API keys of an account share one budget for Customer and Producer reads and a separate one for submissions. Both refill continuously rather than in fixed minute windows; Limits lists their rates, and every authorized response repeats them in X-RateLimit-Limit and X-RateLimit-Burst. Authorized requests still count if subsequent validation fails, and retries count too.
On 429 RATE_LIMIT_EXCEEDED, wait at least the number of seconds in Retry-After before retrying. Keep the same body and Idempotency-Key for a submission retry. Spread polling over time and avoid retry loops; request a higher limit if your integration needs sustained additional capacity.
If a backtest download returns HTTP 409 or 410, discard partial results and start again without a cursor. If the conflict persists, contact support. 404 BACKTEST_LEAD_NOT_AVAILABLE means the requested leadMinutes is not offered for this product; check /backtests/options. 404 BACKTESTS_NOT_OFFERED means the product is a nowcast (nowcast: true in the catalog), which offers no backtests. On 422 FORECAST_RANGE_TOO_COMPLEX, reduce limit and retry the same cursor. See Backtests.