validation_error | 400 | Malformed or missing fields (see details.fields) |
market_not_allowed | 400 | Market not enabled for your account |
exposure_exceeded | 400 | Total open exposure would exceed your cap (see details.available_headroom_usd) |
insufficient_collateral | 400 | Not enough balance for the requested size |
hedge_not_open | 400 | The target Hedge is not open, so it can’t be added to |
account_not_configured | 400 | Your partner account has no on-chain account set yet |
missing_credentials | 401 | No Authorization header |
invalid_api_key | 401 | API key not found or revoked |
insufficient_scope | 403 | API key lacks the required scope |
account_forbidden | 403 | The requested account is not yours |
hedge_not_found | 404 | No Hedge with that id on your account |
no_open_hedge | 404 | No open Hedge on that market and side to add to (open one instead) |
hedge_exists | 409 | You already have an open Hedge on that market and side; add to it or settle it first |
idempotency_in_flight | 409 | A request with this Idempotency-Key is still processing |
idempotency_key_reuse | 409 | Idempotency-Key reused with a different request body |
rate_limited | 429 | Too many requests |
quote_failed | 502 | Could not build a quote |
execution_failed | 502 | The order could not be submitted |
onchain_read_failed | 502 | Could not read market or account data |
price_unavailable | 503 | Price feed temporarily unavailable |
executor_unavailable | 503 | Execution service temporarily unavailable |
service_unavailable | 503 | A required service is temporarily unavailable |