LifeAstroAPILifeAstroAPI

← Docs home

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.

CodeStatusMeaningRetry?
unauthorized401The request reached the API but carried no usable key.no
ip_not_allowed403The key has an IP allowlist (a Business, Scale and Enterprise plan feature) and this request came from an address outside it.no
plan_required403The dashboard setting you tried to change belongs to a higher plan. API calls with your key are not affected.no
account_suspended403Every call on this account is blocked until the account is reinstated.no
daily_cap_exceeded402The 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_exceeded402The free tier's 1,500 credits for this calendar month (and any welcome bonus) are used up.after top-up
trial_exhausted402The trial credit balance on this account is zero.after top-up
insufficient_credits402A pay-as-you-go or paid account does not have enough credits for this call.after top-up
quota_exhausted402The plan's monthly credits are used and the wallet has no credits to cover this call.after top-up
rate_limited429Too many requests in the current minute for your plan. The response carries Retry-After and X-RateLimit-* headers.after Retry-After
missing_param400A required query parameter is absent. The message names it.no
invalid_param400A parameter is present but malformed or out of range. The message says which.no
not_found404The path does not exist, or a path value (planet, varga, star name) is unknown.no
data_unavailable503The calculation needs data the server does not have for this input.no
internal_error500Something failed on our side for this request.with backoff