Troubleshooting
Every error the API returns has a stable error.code. Find yours below for what it means, the usual cause and the fix. The general envelope and status codes are on the Errors page.
| Code | Status | Meaning | Retry? |
|---|---|---|---|
unauthorized | 401 | The request reached the API but carried no usable key. | no |
ip_not_allowed | 403 | The key has an IP allowlist (a Business, Scale and Enterprise plan feature) and this request came from an address outside it. | no |
plan_required | 403 | The dashboard setting you tried to change belongs to a higher plan. API calls with your key are not affected. | no |
account_suspended | 403 | Every call on this account is blocked until the account is reinstated. | no |
daily_cap_exceeded | 402 | The free plan has a daily pace limit: 1,000 credits a day while your welcome credits are active, 500 a day after that. Today's total has reached it. The limit only stops further calls: a call that starts under the limit runs in full even if it ends above it, so a report runs on a free account when the welcome credits or the month's allowance cover the whole call. | after top-up |
monthly_cap_exceeded | 402 | The free tier's 1,500 credits for this calendar month (and any welcome bonus) are used up. | after top-up |
trial_exhausted | 402 | The trial credit balance on this account is zero. | after top-up |
insufficient_credits | 402 | A pay-as-you-go or paid account does not have enough credits for this call. | after top-up |
quota_exhausted | 402 | The plan's monthly credits are used and the wallet has no credits to cover this call. | after top-up |
rate_limited | 429 | Too many requests in the current minute for your plan. The response carries Retry-After and X-RateLimit-* headers. | after Retry-After |
missing_param | 400 | A required query parameter is absent. The message names it. | no |
invalid_param | 400 | A parameter is present but malformed or out of range. The message says which. | no |
not_found | 404 | The path does not exist, or a path value (planet, varga, star name) is unknown. | no |
data_unavailable | 503 | The calculation needs data the server does not have for this input. | no |
internal_error | 500 | Something failed on our side for this request. | with backoff |