Error codes
Every code the gateway and REST API return, with its status and meaning.
Gateway
Send without fundsNothing is charged; top up to continue
Example dataNo gateway error charges you.
| Code | HTTP | When |
|---|---|---|
bad_request | 400 | Invalid body, missing model, messages not an array, max_tokens missing (Messages), image rules |
unauthorized | 401 | Missing or unknown key; session key used outside the site |
insufficient_funds | 402 | The hold does not fit the chosen source |
allowance_not_accepted | 402 | The endpoint refuses allowance funding |
key_disabled | 403 | The key is disabled |
key_limit_reached | 403 | Daily or total key limit |
model_not_allowed | 403 | Model outside the key list |
model_not_found | 404 | Unknown model or endpoint |
allowance_closing | 409 | Allowance-only call during the daily close |
request_too_large | 413 | Body over 32 MB or input over the model context |
rate_limited | 429 | Key rpm, 10 open calls, or 1,200 per minute per IP |
upstream_unavailable | 503 (502) | Primary and fallbacks failed; maintenance |
endpoint_paused | 503 | The launcher paused the endpoint |
internal | 500 | Unexpected failure |
REST
Name it, set limits, createThe secret is shown once
Example data| Code | HTTP | When |
|---|---|---|
bad_request | 400 | Invalid input; the message names the rule |
unauthorized | 401 | Not signed in |
invalid_signature | 401 | Sign-in signature did not verify |
forbidden | 403 | Foreign origin, banned wallet, or not the launcher |
not_found | 404 | No such resource, or the feature is off |
launching | 404 | The coin exists but its launch has not finished |
method_not_allowed | 405 | |
conflict | 409 | Key cap, pending version, launch already running, duplicate file |
test_missing | 409 | Publish needs a passing test |
validation_failed | 409 | Prepare with open issues (details.issues) |
idempotency_in_progress | 409 | Same Idempotency-Key still running |
day_not_closed, proof_unavailable | 409 | Usage proof not available yet or mismatched |
nonce_expired, expired | 410 | Sign-in message or prepared transfer expired |
idempotency_mismatch | 422 | Idempotency-Key reused for another request |
request_too_large | 413 | Body too large |
rate_limited | 429 | With retry-after |
launch_unavailable, unavailable | 503 | Launches or top ups not open on this server |
Draft issue codes
Review and sign onceFunding confirmed, launch running
Example dataReturned in issues[] of a draft, not thrown.
| Code | Field |
|---|---|
required | kind, primary model, coin name, ticker |
model_unknown, model_down | endpoint.primary |
prompt_too_long, files_too_many, files_too_large, markup_range | endpoint |
name_length, ticker_format, ticker_taken, ticker_reserved, description_length, image_missing, url_invalid, dev_buy_range | coin |
test_missing | test |
rate_limited | launch (3 per day) |