Docs
API https://api.orblivion.com Home Agents

Errors

Every refusal is JSON with a stable code and a readable message:

JSON
{"error": {"code": "NOT_AS_BUILT", "message": "this transaction isn't one Orblivion built for this API key: its calldata differs from the latest swap built 0 s ago", "diffs": ["calldata"]}}

Branch on code, never on message. Some errors carry more fields beside them: unaccepted (risk refusals), policy (the checks that ran), diffs (NOT_AS_BUILT), checks (session checks), signer_checks (the co-signer's failed checks), sent (what a two-step submit already sent), retry_after_s. A 429 and most 503s carry a Retry-After header.

Retrying. 429, 502 and 503 are worth retrying after a pause (Retry-After when there is one, or the error's retry_after_s; after SIGNUP_CAPPED or KEYS_CAPPED it can be hours). The SDKs wait out a RATE_LIMITED themselves and give any other 429 (a cap) back at once, with its own code; from 0.1.1 an error's retryable is true for any 429 and any answer that says when to try again, and retry_after (retryAfter) says how long, and so are TOKEN_CHANGED, QUOTE_SIM_MISMATCH, ROUTE_VS_MID and ROUTE_VS_REF with a fresh plan. A 400 or 422 needs a different request. After SEQUENCER_UNREACHABLE, look for the transaction's receipt before you sign another with the same nonce.

Requests and authentication#

CodeStatusMeaning
BAD_REQUEST400a field is missing or malformed, the body isn't a JSON object, or it is over 64 KB (413)
UNKNOWN_FIELD400a hosted-agent request named a field that route doesn't take
ADDRESS_REQUIRED400a token named by a symbol that isn't a core asset: use its address
LENGTH_REQUIRED411a body sent without a plain Content-Length (chunked bodies aren't accepted)
METHOD_NOT_ALLOWED405the wrong HTTP method for the route
NOT_FOUND404no such route, or no such object for this key
UNAUTHORIZED401no API key, or an unknown, expired or revoked one
CHALLENGE_EXPIRED401no open sign-in challenge for the address: it expired (5 minutes) or was used
LINK_EXPIRED401no open link or unlink text with this nonce for this account: it expired (10 minutes) or was used; ask for a new one
LINK_SIGNATURE401a link text needs both wallets' signatures, an unlink text the leaving wallet's or the owner's: one is missing or isn't that wallet's
RISK_ACK_NEEDED409a request, a live hosted agent (created, gone live, changed, given a session or resumed) or a session names BEYOND_DEFAULTS in accept_risks before the account's owner key signed the one-time risk acknowledgement (once ever, any version; a paper agent needs none): GET /api/v1/auth/risk-ack (route, version, and cases: the names of the thresholds a trade or an agent's limits cross, whose lines lead the message when each one has a line)
RISK_ACK_SIGNATURE401the risk acknowledgement isn't the account's owner key's signature of its text (the text is spent: ask for a new one)
BAD_SIGNATURE400, 401, 422a signature that doesn't recover to the wallet: sign-in, a session's delegation or authorization
NOT_ORBIO_AGENT403this server signs in only Orbio agents' wallets and owners
WALLET_MISMATCH403the key is bound to another wallet than the request, the transaction or the session names
FAMILY_TAKEN409the account already has a wallet of that kind: an account holds one EVM and one Solana wallet
ADDRESS_IN_USE409the wallet has its own Orblivion account with hosted agents, a league entry or another wallet, or is linked to another account: accounts aren't merged
OWNER_ADDRESS409an account's first wallet is its owner for good: it can't be unlinked
NOT_LINKED404the wallet isn't linked to this account
ADDRESS_LIVE409a live agent uses this wallet, running or stopped: delete it before unlinking
LINK_UNAVAILABLE503the co-signer, which records every link, didn't answer, or linking isn't available on this server right now: nothing was linked; try again later
WALLET_NOT_BOUND403a key bound to no wallet, on a route that needs one (trading, sessions, hosted agents, your account): sign in with the wallet
FORBIDDEN403another wallet's hosted agent
CSRF_REFUSED403a browser request from another origin, or with cookies but without JSON and X-Orblivion-Client (or its older name, X-Pit-Client)
DEV_DISABLED403a development-only field (fee_recipient, assume_state) on a server where they are off
RATE_LIMITED429too many requests (from this address, or from everyone at once on the public API), failed authentications or new-token screens: wait for Retry-After
SIGNUP_CAPPED429wallet sign-in would create a new account past the cap for this address today or for the whole service this hour: wait for Retry-After (it can be hours), or sign in with a wallet that already has an account
KEYS_CAPPED429wallet sign-in would issue a new API key past the cap for this address today or for the whole service this hour: keep using the keys you have, or wait for Retry-After
UNKNOWN_HOST421the request named a host this server doesn't answer for: check the base URL
ADDRESS_BLOCKED451this wallet can't use Orblivion, nor can any other address the request involves: the wallet signing in, the wallet an API key is bound to, the trading wallet, a transaction's signer, a session's wallet or executor, a hosted agent's owner, or a league entry's owner, agent wallet or beneficiary. field names which. Orblivion serves it nothing; a key bound to it can still revoke itself and end what it started (revoke a session, pause, stop or delete a hosted agent, leave the league)
COUNTRY_BLOCKED451Orblivion isn't available in the country or region the request comes from
ENGINE_UNAVAILABLE503the service is starting or down: retry shortly
AUTH_DOMAIN_UNSET503the server has no sign-in domain configured, so wallet sign-in is off
SIGNIN_UNAVAILABLE503signing in with a Solana wallet isn't available on this server right now
ORBIO_UNAVAILABLE503Orbio's agent list couldn't be read, on a server that signs in only agents

Tokens#

CodeStatusMeaning
NO_ROUTE422no venue Orblivion can build a trade through: the only refusal about a token itself
TOKEN_NOT_ALLOWED422a symbol that isn't a core asset (name other tokens by address), or a token outside a session's list
TOKEN_UNKNOWN, UNKNOWN_TOKEN422, 404the address isn't in the registry, or isn't a token
NOT_A_TOKEN404the address isn't an ERC-20 contract on Robinhood Chain
SAME_TOKEN422the input and the output are the same token
TOKEN_CHANGED409the token's proxy now runs other code than its screen read; it is being screened again: retry shortly
SCREEN_UNAVAILABLE503the token couldn't be screened right now (every screening slot is busy): retry after Retry-After
REGISTRY_UNAVAILABLE503the token registry didn't answer
STATS_PENDING503the registry's first count is still running

Risk and policy#

CodeStatusMeaning
RISK_NOT_ACCEPTED422severe risks the request (or the session's binding) doesn't accept; listed in unaccepted
SHIELD_ENDED400, 409the Shield option was removed: a request with shield: true or a policy on is 400 (send shield: false and all policies off); a session granted with it is 409 (revoke it and grant a new one without it); a hosted agent with it pauses with this code until its terms turn it off
MAX_NOTIONAL422above the recommended most for one trade ($10,000): past it, accept_risks names BEYOND_DEFAULTS
MIN_NOTIONAL422below the least one trade may be ($1)
MAX_SLIPPAGE422slippage_bps over the pair's cap for the size (recommended at most 300): past it, accept_risks names BEYOND_DEFAULTS (and under 10,000)
MAX_FEE422a fee above the server's maximum
FEE_FIXED422the request named a fee (fee_bps): the server sets it from the trade's class and the wallet's volume tier, or a session's binding. Cap it with max_fee_bps instead.
FEE_BPS422the plan's fee isn't one the schedule allows for its class, or is above the request's max_fee_bps
FEE_RECIPIENT_NOT_ALLOWED422a request for another fee recipient
FEE_MISMATCH422the fee in the calldata isn't the one the plan's class and tier (or a session's binding) set
ROUTE_VS_MID422the route lands too far under the pair's reference pool mid
ROUTE_VS_REF422the route's price sits too far from the token's independent reference
NO_REFERENCE_MID422the pair's reference mid couldn't be read, so the route can't be checked
LIMIT_NOT_REACHABLE422min_amount_out can't be met at this size now
QUOTE_ONLY422the route can be quoted but not built for signing (an aggregator, or a route through NVDA)
QUOTE_SIM_MISMATCH422the plan's exact simulation delivers less than its quote (a hook or token that treats the router differently). Unless the request named its route_id, the next best route was tried first: it is taken when it passes every check and meets its own quote; fallback says why it wasn't
SIMULATION_FAILED422the plan's own simulation reverted or didn't deliver what was asked
INSUFFICIENT_BALANCE422a trade to send (fund: false, as the SDKs' real trades and the hosted agents send it; prepare and a session trade) sells more than the wallet holds: balance and amount_in (atoms of token) say by how much. Nothing was built, approved or co-signed. A dry run (fund: auto) still lends the balance
DRY_RUN_UNFUNDABLE422a dry run of a sale couldn't pretend the wallet holds the token (its balance storage isn't a standard mapping): simulate from a wallet that holds it (fund: false), or trade a small real amount
ROUTER_NOT_ALLOWED422a transaction to a contract, or a call, that Orblivion doesn't build
PARTICIPANT_TOKEN422a token that a trading league's rules exclude for this account
TOKEN_TIERa policy check that reports a token's tier; informational
APPROVAL_MODE422approval_mode isn't budget, exact or unlimited
APPROVAL_BUDGET422the approval budget isn't a positive amount within the maximum ($10,000 recommended: past it, accept_risks names BEYOND_DEFAULTS)
UNLIMITED_APPROVAL422an unlimited approval without allow_unlimited_approval: true, or without BEYOND_DEFAULTS in accept_risks (it is past the recommended $10,000)
UNLIMITED_APPROVAL_IN_PLACEa warning check: the wallet already has an unlimited approval; revoke it
STOCK_PAUSED422the stock token is paused
WALLET_BLOCKED422the stock token's registry blocks this wallet
NO_MARK503no price for a token, so a dollar size can't be converted

Curve trades#

CodeStatusMeaning
CURVE_PAIR422a Pons curve trades only against its own pair token
CURVE_GRADUATED422the curve has graduated, or this buy would take it to graduation and be only partly filled: buy less, or trade the pool
SNIPE_TAX422the curve charges a snipe tax in a launch's first seconds: try again a few seconds later
FEE_MODE422the curve fee mode doesn't fit the wallet (batch needs a delegated wallet)
FEE_TOO_SMALL422the fee would round to zero: trade more
FEE_FIRST422a curve trade's fee must go first, with its trade: send them together in raw_txs

Relay#

CodeStatusMeaning
SUBMIT_DISABLED403this server doesn't relay: send the signed transaction through any RPC
NOT_AS_BUILT422the transaction isn't one Orblivion built for this key, or the fee differs; the fields in diffs
SUBMIT_REJECTED422the sequencer, or the relay's own decoding, refused the transaction
SEQUENCER_UNREACHABLE502the sequencer didn't answer: the transaction may or may not have arrived
RPC_UNAVAILABLE502the chain's RPC didn't answer, or couldn't tell whether a token by address is a Robinhood stock token, so the trade's fee class can't be read; retry shortly
VENUE_FAILED502a venue's quote or curve read failed
LIVE_UNAVAILABLE503the trading layer isn't running on this server

Fast mode#

POST /api/v1/live/fast checks a signed transaction against the rules below, in this order, and answers the first that fails; failures lists every one that failed. Each is also a rule the SDKs' own verify_fast / verifyFast report. Every code down to SIMULATION_FAILED and FAST_FUNDS is answered before anything is relayed. NONCE, SUBMIT_REJECTED, SEQUENCER_UNREACHABLE and IN_FLIGHT come after the relay may have reached the sequencer: the fast transaction may still land, so the trade's next transaction takes the same nonce (one normal-path attempt, as below), never a fresh one (the SDKs do this themselves).

The SDKs take the normal path on their own. Calling the API yourself, do what they do:

  • On any of these codes, take the normal path (POST /api/v1/live/prepare, then POST /api/v1/live/submit) and sign its first transaction at the same nonce as the refused fast transaction, so at most one of the two can land: FAST_DISABLED, SUBMIT_DISABLED, TX_ENCODING, FAST_PAIR, MARKET_CLOSED, PRICE_STALE, TX_TYPE, CHAIN_ID, ROUTER, VALUE, WALLET_MISMATCH, NOTIONAL, ROUTE_CAP, DEADLINE, GAS, FEE_BPS, MIN_OUT, AMOUNT_USD, CLIENT_CAP, PERMIT, NOT_AS_BUILT, STOCK_PAUSED, WALLET_BLOCKED, SIMULATION_FAILED, POOL_FAR, ROUTE_VS_MID, NO_REFERENCE_MID, FAST_FUNDS, RATE_LIMITED, WALLET_NOT_BOUND, LIVE_UNAVAILABLE, RPC_UNAVAILABLE and NOT_FOUND.
  • A fast transaction whose receipt reads status 0x0 (mined and reverted) spent only its gas, and its nonce with it: take the normal path at a fresh nonce. No receipt, or one you can't read, proves nothing: look the hash up.
  • Any other code (BAD_REQUEST included) or no answer at all: the fast transaction may still land. Look the hash up first: if your RPC shows it, that is the trade. Otherwise you may take the normal path once, with its first transaction at the same nonce (never a fresh one, even when the nonce looks taken) and only with a router or batch plan (a curve plan signs its later transactions before the first is mined, so one of them could land beside the fast one). If one of its transactions is mined, reverted or not, the nonce is used and the fast one can't land. If it fails any other way, watch your RPC for the fast hash for a few seconds before you give up: the fast transaction stays valid until the wallet's next transaction, and every hash you signed may still land.
CodeStatusMeaning
FAST_DISABLED403fast mode is off on this server (it is opt-in); use prepare and submit
BAD_REQUEST400the body or raw_tx can't be read (field names it): not hex, not RLP, not a transaction
TX_ENCODING422raw_tx isn't in the one encoding fast mode takes: canonical RLP, a low-s signature, an empty access list
FAST_PAIR422the pair and direction have no pinned fast route (cbBTC, ORBIO, launchpad, Pons and long-tail tokens never do), or Orblivion can't confirm the pinned route as the best at this size right now; the SDKs then take the normal path
MARKET_CLOSED422a stock token outside the US stock-token session (Sunday 20:00 to Friday 20:00, New York)
PRICE_STALE503Orblivion's own Chainlink mark for an end is missing or stale; retry shortly
TX_TYPE422not an EIP-1559 (type 2) transaction
CHAIN_ID422not signed for chain 4663
ROUTER422not to the pinned Universal Router
VALUE422the ETH sent isn't the ETH input (or 0 for a token input)
WALLET_MISMATCH403signed by another key than this API key's wallet
NOTIONAL422under $1 or over the server's maximum notional
ROUTE_CAP422over the pinned route's own size cap (max_usd in the routes table, at Orblivion's marks): above it the pinned pool trails the normal path's best route, so the trade goes through prepare (the SDKs take the normal path themselves, before signing)
DEADLINE422the deadline has passed or is more than 60 s away
GAS422the gas limit is under the pinned route's or over 1,000,000; maxFeePerGas under the base fee or over 10 times it; the tip over the fee cap; or the most the transaction can cost over 0.0002 ETH. terms.base_fee_wei is the server's
FEE_BPS422the declared fee_bps or the calldata's fee (an input-side TRANSFER of exactly the bps of the input, an output-side PAY_PORTION) isn't this wallet's fee; terms.fee is the right one
MIN_OUT422min_out is more than the pair's cap under what the trade delivers now (by the simulation), or further under Orblivion's own Chainlink marks than the cap, the pool's fee and the pair's band (75 bps against USDG, 125 for a cross pair) together; terms.floor is the least it takes: quote again
AMOUNT_USD422amount_in is worth more than 3% away from the amount_usd the trade was sized for, at Orblivion's own Chainlink marks: the sizing marks are wrong
CLIENT_CAP422amount_in is worth more than the request's own max_notional_usd at Orblivion's marks
PERMIT422the Permit2 permit isn't for exactly this trade, expires too late, or rides on an ETH input
NOT_AS_BUILT422the calldata isn't byte for byte what Orblivion builds from the request; diffs names what differs (CALLDATA, FEE_RECIPIENT, FEE_COUNT, FEE_TOKEN, FEE_SIDE, RECIPIENT, ROUTE, COMMANDS, AS_BUILT)
STOCK_PAUSED, WALLET_BLOCKED422a stock token: as for prepare
SIMULATION_FAILED422the exact signed transaction failed its simulation (it would revert, deliver under min_out, or pay the fee wrongly); simulation.checks says which
POOL_FAR422the pinned pool delivers further under Orblivion's Chainlink marks than its fee and the pair's band: a pool pushed off the market isn't traded fast
ROUTE_VS_MID, NO_REFERENCE_MID422on an NVDA or SPY pair, the delivery (or, without the simulation, the minimum) lands too far under the reference pools' mid, or the mid can't be read
FAST_FUNDS422with simulate: false, the wallet doesn't hold what the transaction spends
NONCE422the sequencer refused the nonce and the chain doesn't show these bytes; chain.spent true means another transaction took the nonce, so this one can never land. Otherwise it may still land: look the hash up before signing anything else
SUBMIT_REJECTED, SEQUENCER_UNREACHABLE422, 502the sequencer refused it, or its answer was lost; it may have arrived
IN_FLIGHT409the same signed bytes are still being relayed by another call: wait for it, and look the hash up

Sessions#

CodeStatusMeaning
NO_SESSION404, 409no such session for this key, or (hosted agents) none attached
SESSION_LIMIT422a grant's limits are out of range (a per-trade limit under $1.01; past the recommended $1,000 a trade, or a setup budget past $10,000, accept_risks names BEYOND_DEFAULTS; an agent account's setup budget never goes past it)
BAD_EXECUTOR422the executor is the wallet or the co-signer
EXECUTOR_OWNER403the executor is a hosted agent's: only that agent's owner can grant it a session
WALLET_CODE422the wallet runs other code than EIP7702StatelessDeleGator v1.3.0; changing it is the owner's decision
SESSION_CODE409a session trade to send (fund: false), or a hosted agent switched on or resumed, from a wallet that can't run the session's code: a plain wallet whose stored authorization is for an older nonce (it sent a transaction after the grant: its setup, a gas top-up) or that has none, or a wallet now on other code. Nothing was co-signed; fix says what to do (set the wallet's code with one transaction from the wallet itself: wallet.delegate_code() / delegateCode() from SDK 0.1.1; with SDK 0.1.0, sign that transaction yourself, as Sessions shows), and wallet_nonce and authorization_nonce say why (Sessions)
AGENT_ACCOUNT422a session's wallet isn't its owner's agent account (the address worked out from the owner), or a revoke of an agent account's session asked for reset_code (it has no EIP-7702 code to reset); a hosted agent's agent_account on an agent that isn't live on Robinhood Chain, or a switch while a session is attached (API)
OWNER_ACCESS_MISSING409a grant, setup, top-up, revoke, fund or withdraw for an agent account before its owner signed owner access: sign owner_access_typed_data and send it (POST /api/v1/live/account/owner-access) (API)
ACCOUNT_PENDING409a withdraw, or a revoke's on-chain steps, for an agent account that has no code yet: a batch to it would only revert. create is its create transaction: send it from the wallet, then ask again (a revoked session stays revoked at Orblivion) (API)
OWNER_ACCESS_DISABLED409the agent account's owner access was disabled on chain: Orblivion can't build its owner batches any more; MetaMask's Smart Accounts Kit still reaches the account (API)
SESSION_PENDING, SESSION_REVOKED, SESSION_EXPIRED409the session isn't switched on, was revoked, or has ended; SESSION_REVOKED also when a one-chain live agent is turned on or resumed on a session its owner ended on chain (any of its delegations disabled)
SESSION_EXPIRY409the session ends in the next few seconds (for a budget top-up, within five minutes: grant a new session)
SESSION_BUDGET_SHARED409a budget top-up while another active session of the wallet sells the same token: Permit2 keeps one allowance per wallet and token, so it would set that session's too. shared names them; send confirm_shared with their ids to go ahead, or revoke the one you no longer use (Sessions)
TOPUP_AGAIN409a second budget top-up within 24 hours of the last one that landed on chain or was relayed: last_top_up says when and what it set; send again: true to confirm (each confirmed top-up allows at most one day's cap more)
SESSION_BOUND409the stored binding doesn't hash to the root's salt; grant again
SESSION_TERMS400a trade asked for other risk terms than the session's binding
VALUE_GUARD_FEED422a grant asked for the value guard for a token it can't price: every session token needs a pinned Chainlink feed, so not ORBIO, a token on its curve or a token by address
VALUE_GUARD_CODE422a grant asked for the value guard and its contract isn't on this chain
SESSION_TOKENS422a token outside the session
SESSION_TRADES_LEFT422the session's trades are used up
SESSION_MAX_TRADE422over the per-trade cap
SESSION_SLIPPAGE422the trade asks more slippage than its session's owner signed (max_slippage_bps in the binding; none signed: 300)
SESSION_MAX_DAY422over the 24-hour cap (every co-signed trade counts, sent or not)
SESSION_TARGET, SESSION_RECIPIENTS, SESSION_EXECUTION422the swap isn't a router call the root allows, or pays someone other than the wallet, the router or the fee recipient
SESSION_SETUP422a token input without the session's Permit2 setup in place
SESSION_CURVE, SESSION_CURVE_ROOTS, SESSION_CURVE_STEPS, SESSION_ROOT_ALLOWS422a curve token's trade the session's curve roots don't allow
TOKEN_UNVERIFIED422a session granted before binding version 3 trading an Orbio agent or Pons token its owner didn't list in allow_unverified at the grant, or a token Orblivion has no record of
SESSIONS_UNAVAILABLE, SIGNER_REQUIRED, SIGNER_UNAVAILABLE503sessions can't be co-signed on this server right now
SIGNER_MISMATCH502the co-signer's answer wasn't the leaf asked for; nothing was co-signed

The co-signer's refusals#

When the co-signer refuses a session trade, the error's code is its own (REFUSED when the trade fails its checks) and signer_checks lists the checks that failed, each by its rule. The usual codes and rules:

Code or ruleMeaning
REFUSEDthe session trade failed the co-signer's checks; signer_checks names them
SIGNER_FROZENthe co-signer is frozen by its operator: it signs nothing
PRICE, PRICE_UNAVAILABLEthe minimum output is too far under the input at the co-signer's own price, or it has no fresh price
SIGNED_MARK_PRICEa token without a feed, priced too far under the mark the owner signed
LIVE_PRICE, DEPTHORBIO priced too far under the worse of its reference pool's TWAP and spot, or a trade over 1% of the depth that pool holds in range
FEE_REQUIREDthe leaf doesn't pay a fee its binding allows for the leaf's class to the fee recipient: a major leaf one of the pinned tiers between major_min_bps and major_max_bps, any other leaf exactly other_bps
FEE_CLASSthe co-signer couldn't read the leaf's fee class itself (whether a token by address is on the Robinhood stock tokens' beacon); it reads the class from the leaf's two tokens and never takes Orblivion's
SESSION_FEE, FEE_DECLAREDno fee is allowed for the leaf (its class couldn't be read), or the fee Orblivion states for it isn't one the session's binding allows for its class
SLIPPAGEthe slippage asked is over the co-signer's maximum
ROOT_BINDS_LIMITS, BINDING_NONCE, BINDING_TERMSthe root's salt isn't the hash of the limits, or the binding is malformed
ROOT_DAY_CAPa hosted executor's root without the on-chain ETH day cap
CAP_PRICEa registered cap far from the co-signer's own price
NO_FEED_SESSIONa session with a token without a feed that lasts over 24 hours from its registration with the co-signer: ORBIO without BEYOND_DEFAULTS in its binding or a live reference (its reference pool's TWAP), or any token by address
LIVE_REFERENCEa session over 24 hours trading a token without a feed, or any ORBIO session whose binding accepts BEYOND_DEFAULTS, with no live reference for it now: the trade waits (PRICE_UNAVAILABLE)
ROOT_REUSEDthe same signed root registered twice
TRADE_REFUSED, TX_REFUSEDthe trade, or an executor's transaction, failed the co-signer's checks
REFUND_REFUSEDan executor's gas can't go back yet: a session for it can still be co-signed, something it signed can still execute, or nothing is left above the refund's own gas (checks says which)
REFUND_OWNERthe executor's owner on record isn't one the co-signer can stand on (none, or not the wallet that signed its sessions): nothing is refunded
REFUND_IN_FLIGHTan earlier refund is ahead of what the chain shows: try again shortly
ADDRESS_BLOCKEDthe session's wallet or executor, or an executor's owner, can't use Orblivion: the co-signer registers, co-signs and refunds nothing for it (it checks for itself)
REFUND_GASa plain transfer to the owner can't be estimated (the wallet's code refuses it)
EXECUTOR_CLOSEDthe executor's gas was refunded: it trades, signs and registers sessions no more
CHAIN_UNAVAILABLEthe co-signer couldn't read the chain itself: nothing was signed
CODE_MISMATCHa contract the co-signer relies on (the delegation framework's contracts, the value guard, Permit2, the router or Multicall3) doesn't have the code it pins on this chain: it registers, co-signs and signs nothing until Orblivion has checked that code again
BUSYtoo many requests at once: retry

Solana#

Raised by POST /api/v1/solana/build and /send, besides the shared codes (BAD_REQUEST, RISK_NOT_ACCEPTED, REF_DEVIATION, NO_ROUTE, SIMULATION_FAILED, BAD_SIGNATURE, ADDRESS_BLOCKED, SOLANA_OFF, and WALLET_MISMATCH when the build's owner isn't one of the key's account addresses).

CodeStatusMeaning
PAIR_UNSUPPORTED400neither end is SOL, USDC, USDT, USDG, PYUSD or JUP, so Orblivion's fee has no currency: trade through one of them
FAST_MAJORS_ONLY400fast mode is for trades between those six; any other token goes protected unless accept_risks names BEYOND_DEFAULTS (outside a bundle it can be front-run up to your slippage)
TIP_CAP400max_tip_lamports is under the channel's minimum tip
NOT_AS_BUILT409the transaction isn't one Orblivion built for this key, or it was built too long ago: ask for a new plan
NOT_TRADABLE409the token can't be traded: its screen says why, or no route reaches it
ROUTE_TOO_LARGE422the route's transaction doesn't fit Solana's packet even with fewer accounts
ROUTER_MISMATCH502Jupiter's answer didn't match what was asked, or named a lookup table the chain doesn't have
UNSCREENED503the token couldn't be screened just now: try again shortly
FEE_ACCOUNT_MISSING503Orblivion's fee account for the fee token isn't open yet, so the pair can't be traded here
FAST_OFF503fast mode isn't set up on this server

Hosted agents#

CodeStatusMeaning
TOO_MANY_AGENTS429at most 20 hosted agents per wallet
BAD_TERMS422the agent's risk terms contradict themselves
BAD_SESSION422the session can't drive this agent; every reason is in the message
OUTSIDE_SESSION422the agent's limits or terms are wider than its session's
SCALED_MINT422a Solana token whose mint scales its balances: it can't trade live
SESSION_OPEN409a live Solana agent's session is still on chain: sign the stop's on-chain steps, then delete it
PAPER_AGENT409a paper agent has no session or executor
STOPPED409a stopped agent can't change or resume
AGENT_CHANGED409another of your requests changed the agent while this one was being checked: read it again and retry
AGENT_PAUSED409a resume with chain while the agent itself is paused: resume the agent without chain
STOP_FIRST409stop a live agent before deleting it, or before its executor's gas goes back
KILLED409the kill switch is engaged
LIVE_DISABLED409live trading is off on this server
SESSION_NOT_ACTIVE409the attached session isn't active: grant and attach a new session. From /live/submit: a budget top-up built while its session was active, sent after it was revoked or ended
SESSION_ENDED409resuming or switching on a live agent whose session ends within 10 minutes (when its agent stops trading) or has ended: grant and attach a new session
SESSION_USED_UP409resuming or switching on a live agent whose session has no trades left: grant and attach a new session
SESSION_LIMIT409resuming a live agent, or a chain, paused for its session's 24-hour spend while no $1 order fits in what is left of it. Nothing changes; it resumes by itself once the window has room
FUNDING_OWN_LAB_ONLY422an AI agent with funding: "own" on a host that doesn't offer Sign in with Orbio yet: your own Orbio balance needs it. Use orblivion there
CONNECT_OFF503Sign in with Orbio isn't offered on this host yet (its redirect page isn't registered with Orblivion's Orbio app), or isn't set up on this server: nothing was started or finished
STATE_UNKNOWN, STATE_USED, STATE_EXPIRED400the sign-in isn't open: it was never started, already used (each is used once, whatever happens), or older than 10 minutes. Start again
STATE_OWNER400another wallet started this sign-in: nothing was connected, and the sign-in is used up
STATE_KEY400this sign-in was started (or claimed) with another API key: finish it in the tab that started it, or start again
STATE_UNCLAIMED400a script's sign-in that no browser tab claimed: nothing was connected
STATE_CLAIMED400a script's claim link that was already claimed: start again
CLAIM_ELSEWHERE409a script's sign-in that comes back to another site's page: open its link on that site
ISSUER_MISSING, ISSUER_MISMATCH400Orbio's redirect didn't carry Orbio's own issuer (iss): nothing was exchanged
TOKEN_EXCHANGE, ID_TOKEN502Orbio refused the code (used, expired or for another page), or its identity token didn't check out: nothing was kept
SCOPE_MISSING, SCOPE_EXCESS422the grant didn't allow model calls, or allowed more than model calls: nothing was kept, and what Orbio issued was revoked
FLOWS_FULL429too many Orbio sign-ins are open at once: try again in a few minutes
SIGNER_ANSWER502Orblivion's signing service answered a sign-in for another redirect page than this host's: nothing was opened
NO_EXECUTOR409paper agents have no executor
SESSION_ACTIVE409a session for the agent's executor can still be co-signed: revoke it before its gas goes back
TOKEN_STOCK422a stock token for a paper agent: only a live agent trades stock tokens, while the US stock-token session is open
SIGNED_MISMATCH502the signing service's refund isn't exactly a plain transfer from the executor to you: nothing was relayed
NOT_A_REFUND422the relay refuses anything but a signed plain transfer from the executor to its owner
NOT_WEBHOOK409the agent's brain isn't a webhook
EXECUTOR_ATTESTATION503the executor's attestation couldn't be had from the signing service
HOSTED_UNAVAILABLE503hosted agents aren't running on this server
NOT_AI409the agent's brain isn't an AI model (no spend to show)
CHAT_CONNECT409Orblivion's free share doesn't cover this chat message (not offered here, this wallet doesn't draw on it, or today's share is used): sign in with Orbio to chat on your own balance
CHAT_BUDGET429the agent's chats reached today's cap; they start again at 00:00 UTC
TALK_LIMIT429the free share's chat messages for this wallet today, or one per agent every few seconds
CHAT_BUSY429other owners' chats are using the model calls Orblivion keeps for chat: send it again in a few seconds
CHAT_MALFORMED, CHAT_SCHEMA, CHAT_STRATEGY, CHAT_EMPTY502the model's answer to a chat message couldn't be used (not one JSON object, other fields, a strategy that fails the form's checks, nothing): ask again
STRATEGY_CHANGED409the agent's strategy changed since the chat proposed a new one: ask again
SOLANA_OFF404Solana agents (and trials) aren't offered on this server
SOLANA_PAPER_ONLY422a Solana agent asked to trade live where this server doesn't run live Solana: nothing is made or changed, and a paper one can be
SOLANA_BRAIN422a Solana agent can't use the webhook brain yet
SOLANA_SHIELD422The Shield option was removed: send shield false
SOLANA_LIVE_OFF409live trading on Solana isn't on on this server; 503 with detail: "PROGRAM_MISMATCH" while the network, Orblivion's session program or its Solana co-signer isn't the one the SDKs pin: nothing new goes live then
PROGRAM_MISMATCHholda live Solana chain's trade waits: the network, the session program or the co-signer isn't the pinned one (read again every 10 minutes)
SOLANA_NEW_SESSION409on Solana the executor is fixed in the session: grant a new session instead of rotating it
SOLANA_OWNER422a live Solana agent names its owner's Solana wallet (solana_owner, exactly as the wallet gives it)
SOLANA_NOT_LINKED409a live Solana agent trades with the account's own Solana wallet: link it first (POST /api/v1/auth/link)
EVM_OWNER_NEEDED409an account first made with a Solana wallet can't enter the league yet
EVM_WALLET_NEEDED409live trading on Robinhood Chain takes an EVM wallet of the account: link one (POST /api/v1/auth/link), then go live from it
SOLANA_WALLET_NEEDED409live trading on Solana takes a Solana wallet of the account: link one (POST /api/v1/auth/link), then go live from it
SESSION_ID503no fresh session id could be checked against Solana for the plan (each session's vault must start empty): try again
SOLANA_QUOTE422a Solana agent's cash leg is USDC, SOL or USDG
BOOK_PRICE503a new paper agent's starting book ($1,000 on each chain, half in its main token) needs that token's price, and it can't be read just now: try again shortly
LEGS_PAPER_ONLY422a live agent on one chain keeps its one chain: copy it to paper (POST /api/v1/hosted/<id>/paper-copy) to add one
MODE_MIXED409an agent is live on every chain or paper on every chain: some legs live and some paper, or a chain added to a live agent. Copy it to paper to try another chain
LEG_NOT_LIVE_YET422a leg is on a chain that can't trade live on this server for an agent on several chains (Solana where this server doesn't run it live): the agent stays on paper. chains names them
ALREADY_LIVE409the agent is live already
LEG_LIVE409a live agent's chain was to be removed: stop the agent instead
NO_LEG404the agent doesn't trade on that chain
LIVE_OFF409resuming a live chain whose own switch is off: turn legs.<chain>.live on first
GAS_LOW409turning a live agent on, or resuming it or a live chain, while its executor's gas is under its minimum (what its tick keeps): top it up first (GET /api/v1/hosted/<id>/executor has the step)
PERMIT2_ALLOWANCE409turning a one-chain live agent on, or resuming it, while every token it may sell is an ERC-20 and the session's approvals for them (to Permit2, and Permit2's to the router) aren't on chain: send the session's setup from your wallet first
SESSION_BUDGET409turning a live agent on, or resuming it, while its session's ERC-20 budget on chain is used up or its approval to the router has expired: top it up first
CHAIN_READ503turning a live agent on, resuming it or changing it when the chain (its executor's gas, its session and the session's approvals) couldn't be read: nothing changed; try again in a minute
STOP_PENDING503the agent's stop hasn't reached Orblivion's signing service yet: it is sent again every minute, and its gas can go back once it lands
ACCOUNT_OWNER409the signing service's own records don't put the wallet in this account, so it makes or attests no executor for it
BUDGET_SHARED409a Solana session's budget refill while the wallet's cash account has another session's or app's budget on it (one token account has one): revoke that one first, or plan this agent's session again
SOL_NEEDED409a Solana session's plan or budget refill needs more SOL than the owner's wallet holds (the cash it wraps, the new accounts' rent and the fee): extra has sol_needed_lamports and sol_balance_lamports; add the difference and try again
BUDGET_ROUTE409a budget refill asked of a Robinhood Chain session: refill it with POST /api/v1/live/session/top-up
CASH_LEG_IN_USE409a live Solana chain's cash token is already used by another live Solana chain of the account from the same wallet (one token account holds one session's budget): stop that agent, or give this one another cash token. agent names it
LEGS_SHIELD422The Shield option was removed: send shield false
LEGS_AI_ONLY422an agent on several chains has an AI brain (orbio_llm with a model), for now
SOLANA_TOKEN422a Solana agent names its tokens by their mint (base58, exactly as written) and trades them against its cash leg (USDC unless the server names another)
BASE_OFF404Base agents aren't offered on this server
PERP_TEAM_ONLY403paper Perpetual Futures agents are limited to Orblivion's own wallets for now
PERP_AI_TEAM_ONLY403an AI brain on a paper Perpetual Futures agent is limited to Orblivion's own wallets for now
PERP_FIXED422an update to a paper Perpetual Futures agent named brain, pairs, params, live, legs or agent_account, which are fixed: make a new agent to change them. Other settings change as for any agent, and perp and mode can't be updated at all (naming them is UNKNOWN_FIELD)

An agent on several chains logs a hold with chain for a chain that sits a check out (SOLANA_OFF, MARKET when its prices couldn't be read, or the code that paused that chain alone, such as DAY_LIMIT or a token that needs you), and LEG_OUT for an order on such a chain; the other chains trade on. A chain paused for its daily limit trades again once that limit has room. A live chain pauses alone for what pauses a one-chain live agent (GAS_LOW, SESSION_BUDGET, SESSION_ENDED, ...) and for ADDRESS_UNLINKED (its wallet left the account), makes at most one trade a tick (ONE_LIVE_TRADE_PER_TICK), and logs LIVE_OFF while its own switch is off. After a stop, stop_pending is logged once if the signing service couldn't be told at once, and stop_landed when it has it.

Inside a running agent, a held order is logged with its own code rather than answered as an error: for example MARKET_CLOSED (a stock token outside the US stock-token session), STOCK_UNREAD (whether a token is a stock token couldn't be read), RISKS_MISSING, FEE_CLASS (the plan's fee class isn't the agent's own reading), FEE_MISMATCH (a fee its terms don't allow), MIN_OUT_QUOTE, MIN_OUT_FLOOR, TOKEN_STALE, TOKEN_BLOCKED, SESSION_TOO_LONG, PAIR and LIVE_OFF. The market guards hold an order the same way: REF_VS_TWAP (ORBIO's pool median more than 5% from its 30-minute TWAP, or the TWAP unreadable), REF_DEVIATION, EXEC_VS_REF, MIN_OUT_VS_REF, LIQUIDITY, MARKET_FRESH, RPC_AGREE and GAS_PRICE. SESSION_ANCHOR holds a trade that ORBIO's following mark doesn't cover yet, and only trades that way, while the agent's other trades go on (its holding says which way, and since when). They are in the agent's logs, each with why, its code in plain words. An AI agent and a webhook see the orders that didn't trade in their last two ticks as last_held. A live agent pauses with SESSION_BUDGET when its session's ERC-20 budget on chain is used up: top it up from your wallet (it sets the approval back to one day's cap) and resume it. It pauses with SESSION_MARK when the price has moved past what its session's owner signed: that needs a new session. A live trade Orblivion built but couldn't send as it was is logged as NOT_READY, with the checks that failed and what to look at (its simulation against the wallet's real state, the session's setup), and counts as a failure; a wallet that can't run the session's code pauses the agent with SESSION_CODE instead.

A paper Perpetual Futures agent's held orders carry STALE_MARK (its price reading was too old or missing), REDUCE_ONLY (a position is open in that market, or was when its model decided), LEVERAGE, MIN_ORDER, TRADE_LIMIT, POSITION_NOTIONAL (an order over its per-order, smallest-size, per-trade or per-position limit), PERP_DAY_LIMIT (it would pass its limit on new positions in any 24 hours), STOP (an entry's stop is missing or outside its range), STOP_SLIPPAGE (a stop waited because the price had gone past its slippage), NOT_ACTIVE (the agent was paused or stopped while its model was answering), PERP_AI_TEAM_ONLY (the AI on paper Perpetual Futures was limited to Orblivion's own wallets again: its model isn't asked) and NO_POSITION (a close with no position open). None pauses the agent, and an open position is still checked.

A paper Perpetual Futures agent with an AI brain has an answer refused with AI_MARKET (a market the agent doesn't trade, or two orders on one market), AI_LEVERAGE (leverage that isn't a whole number from 1 to the agent's own), AI_STOP (an entry without a stop distance in its range) or AI_SIZE (under 10 USDG or over max_trade_usd). Nothing trades on a refused answer; three in a row pause the agent, and an open position is still checked.

An AI agent's tick that makes no call logs a hold: AI_BUDGET (its day's budget can't hold back the most a call can cost), AI_OFF (the server can't call a model), AI_SHARE_SPENT or AI_POOL_SPENT (your share of Orblivion's credits, or the day's pool, is used and you haven't signed in with Orbio to continue on your own balance), AI_NOT_ELIGIBLE (a paper agent past its owner's trial, or a wallet the trial isn't open to), AI_NOT_LIVE (a live agent whose wallet hasn't yet traded the live share's minimum through Orblivion over the last days, or paid no trading fees on those trades, which back the share), AI_POOL_MODEL or AI_POOL_INTERVAL (Orblivion's credits pay only for the cheap models and 15-minute ticks, and a few of a wallet's calls each 15 minutes), AI_POOL_OFF, AI_POOL_UNAVAILABLE, POOL_AGENT or POOL_NOT_LIVE (the co-signer has no record of the agent yet, or no active trading session for the wallet), NOT_CONNECTED or DISCONNECTED (sign in with Orbio again), SCOPE_WIDENED or SCOPE_MISSING (your Orbio grant for Orblivion came to hold more than model calls, or no longer model calls, so it was forgotten and revoked: sign in again), OWN_AGENT (the co-signer has no record of the agent for your wallet yet; tried again next tick), AI_AGENTS_FULL (the co-signer records at most 50 AI agents per wallet: delete the ones you no longer use), CONNECT_ERROR (Orbio refused Orblivion's app for a moment; your sign-in is kept), OWN_DAY_CAP, ORBIO_BALANCE, ORBIO_BUSY, ORBIO_RATE or AI_LATE (too little of the tick's time was left for a model call). Decisions paid by your own balance carry pool_hold with the reason Orblivion's credits didn't pay. An answer it refuses logs an error, and nothing trades that tick: AI_MALFORMED (not one JSON object), AI_SCHEMA (other fields than asked), AI_TOKEN (a token outside the agent's pairs), AI_PAIR (not one of its pairs), CROSS_CHAIN (an agent on several chains: an order's two tokens on different chains), AI_SIZE (outside 1 to the per-trade limit), AI_TOO_MANY (more orders than allowed) or AI_TRUNCATED (the answer stopped at the model's output limit before it was complete; a model that reasons spends part of that limit on its own reasoning, and the detail says how much); so does a call Orbio refused or answered badly (ORBIO_AUTH, ORBIO_SCOPE, ORBIO_REJECTED, ORBIO_BAD_ANSWER, MODEL_NOT_ALLOWED, COST_BOUND). A call Orbio's AI didn't answer logs a hold instead, AI_UNAVAILABLE, whose detail starts with its cause: ORBIO_GATEWAY_ERROR (Orbio's gateway answered 5xx, 408 or 499), ORBIO_TIMEOUT, ORBIO_UNREACHABLE, or ORBIO_UNAVAILABLE (Orbio's sign-in service didn't answer, for an agent on your own balance). It never counts as a failure: the agent tries again by itself after 15 minutes, then 30, then hourly until Orbio answers, and its on_hold says so. Once its checks have been held this way for more than a day (Orbio's AI down that long, or a model too slow ever to answer in time), it pauses AI_UNAVAILABLE_DAY for you to resume once that's fixed. When it was Orblivion's signing service that didn't answer the call, the hold is SIGNER_DOWN (cause SIGNER_UNAVAILABLE), tried again the same way. A call that may have run without an answer (ORBIO_TIMEOUT, ORBIO_GATEWAY_ERROR, or the co-signer's answer lost) counts its worst-case cost against the agent's budget.

Trying an agent, no wallet#

CodeStatusMeaning
GUEST_CAPPED429no more trial agents now: this address started its few for today (scope: "address"), or today's trials are all taken (scope: "all"). Sign in with a wallet, or try again tomorrow
GUEST_UNAVAILABLE503Orblivion's free AI share isn't available right now, so no trial starts
GUEST_OFF503trials without a wallet are off on this server
GUEST_UNKNOWN401a guest key Orblivion doesn't know: its agent moved to a wallet, or its trial ended over a week ago
GUEST_FORBIDDEN403a guest key reads only its own trial agent and changes its strategy: sign in with a wallet for anything else
GUEST_NOT_FOUND404no trial agent has this guest key
GUEST_CLAIMED409another wallet already took this trial agent
GUEST_GONE410the trial ended over a week ago: start a new agent
AGENT_BUSY409the trial agent's check is running: try again in a few seconds
SIGNER_UNAVAILABLE503Orblivion's signing service didn't answer, so the agent didn't move: try again in a minute

A trial agent logs a hold, not an error, when its model calls stop: AI_GUEST_SPENT (the trial's own budget is used: make it real to keep it thinking) or AI_GUEST_BUSY (the day's trials have used Orblivion's share for them; it starts again at 00:00 UTC). One nobody moved pauses with GUEST_ENDED when its hours end.

Rewind#

CodeStatusMeaning
REWIND_OFF503Rewind isn't switched on on this server
REWIND_LOADING503Rewind is still reading the price record after a restart: try again in a minute
REWIND_STALE503the price record has stopped for now, so there is no recent week to replay
REWIND_GAPS503over 1% of this week's steps have no usable price, so it can't be replayed
REWIND_LINK_GONE404this shared link's rule or week isn't kept any more (links replay for 30 days), or its week isn't one Rewind showed for that rule
REWIND_NO_RULE422what you wrote can't become a fixed rule; why says which: token, leverage, not_price, range or unclear
REWIND_TOKEN422the rule trades a token this panel doesn't hold (cbBTC on trial): try panel: "setup"
REWIND_CAPPED429scope: "hour": this address used Rewind as often as it may this hour. scope: "address": it sent its new requests for today. scope: "all": today's new requests are all used. The team's examples and words read before still run
REWIND_BUSY429Rewind is busy reading other requests: try again in a moment
REWIND_AI_UNAVAILABLE503Orblivion's AI isn't available right now, so new words can't run. The examples still do
REWIND_BAD_ANSWER502the AI's answer wasn't a usable rule: try again, or say it differently
REWIND_AI_OFF503replaying an AI agent isn't switched on
REWIND_AI_NO_AI422the agent has no AI brain, and Rewind replays AI agents (an agent doesn't have to be running)
REWIND_AI_PERP422the agent trades paper Perpetual Futures: Rewind replays spot AI agents only
REWIND_AI_INTERVAL422the agent decides more often than every 15 minutes, the price record's step
REWIND_AI_PAIRS422the agent trades neither ETH nor cbBTC against USDG, the pairs Rewind records
REWIND_AI_PREVIEW422a preview on Haiku 5.5 is offered only for an agent on a dearer model
REWIND_AI_NOT_CONNECTED422the owner hasn't connected their own Orbio balance, which pays a replay (the agent doesn't have to be running)
REWIND_AI_CONNECTION503the owner's Orbio connection couldn't be read just now: try again shortly
REWIND_AI_MODEL_NEW422the agent's model was released after the replay's prices start, so it could already know what happened then; model and created (unix seconds) say which and when, and preview_offered whether the Haiku 5.5 preview can run instead
REWIND_AI_MODEL_UNREAD503the model's price or release date couldn't be read from Orbio's catalogue: try again later
REWIND_AI_CONFIRM422confirm_usd isn't a number from min_usd to max_usd
REWIND_AI_RUNNING409one of this account's replays is still running; run is its id
REWIND_AI_BUSY429other replays are running: try again later
REWIND_AI_GONE404this replay isn't kept: replays are kept for 31 days
REWIND_AI_FREE_GUEST422a free replay is for agents made by a signed-in wallet, and this is a guest agent
REWIND_AI_FREE_USED409this account has had a free replay in the last 7 days: next_at (unix seconds, null when unknown) says when the next one opens, if free replays are still on then, and until then a replay is paid from the owner's own Orbio balance
REWIND_AI_FREE_BUSY429free replays are busy just now: try again shortly. The account's free replay is kept
REWIND_AI_FREE_FULL429free replays are full just now: try again later. The account's free replay is kept
REWIND_AI_FREE_LIMIT429free replays can be tried once a minute and a few times a day from one account or network: retry_after_s says when to try again. The account's free replay is kept
REWIND_AI_FREE_PAUSED503free replays are paused for now: a replay paid from the owner's own Orbio balance still runs

A replay that ends early has status: "stopped", with a code and a message saying why: the amount confirmed was reached (BOUND), the owner's Orbio daily ceiling or balance (OWN_DAY_CAP, ORBIO_BALANCE), a disconnected balance, another refusal by Orblivion's signing service (its own code), a model call that waited too long (RATE: Orbio too busy to answer, or, on a free replay, a wait on Orblivion's signing service), more than 5% of steps unanswered (NO_ANSWERS), the agent changed (AGENT_CHANGED), the model's price unread (MODEL_UNREAD), its week no longer kept (GONE), a step that cost more than its worst case (COST_OVER_BOUND) or a fault (INTERNAL). A free replay also stops when it reaches what Orblivion pays for one (BOUND) or when free replays are paused (FREE_PAUSED). Only a free replay that finishes, is stopped by its owner or reaches BOUND uses up the wallet's free replay, until 7 days after it started. After any other stop, starting the free replay again within 7 days of its start carries the same replay on from where it stopped, if the agent is unchanged. After that it starts a new one.

The league#

CodeStatusMeaning
NOT_AN_AGENT404the Orbio vault has no agent with that id
NOT_OWNER403the signed-in wallet isn't the agent's owner and no valid statement signed by the owner came with the entry
STATEMENT_EXPIRED400the statement's nonce is unknown, used or older than 10 minutes: ask for a new one
STATEMENT_MISMATCH400the statement was made for another wallet, agent, board or entrant
AGENT_ENTERED409the Orbio agent is already on that board (one entry per agent on each board)
ALREADY_ENTERED409this trading wallet, account or hosted agent already plays on that board for an agent: leave first (a wallet's practice entry without an Orbio agent: one per wallet)
OWNER_WALLET_NEEDED403entering the league as the owner, or confirming eligibility, takes the account's first wallet, its owner: sign in with it (on the prize league the owner's signed statement also works). A linked wallet manages the account's agents, but proves and confirms nothing in the owner's name
CONFIRMATION_REQUIRED400a practice entry without an Orbio agent needs confirm_eligibility: true: the wallet's confirmation that featuring may go to its holder
PRIZE_IS_LIVE409the prize league counts a trading wallet's real trades: a hosted paper agent plays the practice board, and a hosted live agent's trades count through its owner's wallet
LEAGUE_DIVISION409the account trades another division than the practice board's
LEAGUE_PAPER_ONLY409only paper hosted agents play the practice board
LEAGUE_ONE_CHAIN409an agent on several chains can't play the practice board yet: enter a one-chain agent
LEAGUE_SPOT_ONLY409the practice board is spot only: a paper Perpetual Futures agent can't enter
LEAGUE_PAIRS409on the practice board a hosted agent trades only ETH, cbBTC and ORBIO against USDG
LEAGUE_INTERVAL409a hosted practice entrant ticks at most every 300 seconds, the board's division limit
NOT_ENTERED404that entrant isn't in the league
NO_SEASON404no such season on record
LEAGUE_UNAVAILABLE503the league isn't running here, or the Orbio vault couldn't be read: retry shortly

A prize entry made without the owner's eligibility confirmation (its owner entered by signing in, or entered before the prize statement carried it) answers confirmed: false: it plays, and its CONFIRMED rule keeps it from a prize until the owner signs the prize statement and the entrant sends it to POST /api/v1/league/confirm. No refusal code goes with it. An entry with an address that can't use Orblivion fails its WALLET_CHECK rule, and can't be made at all (ADDRESS_BLOCKED).

A practice entrant's paper order between seasons is refused as SEASON_CLOSED, with why (a prize entrant's real trades are never held by the league). A hosted practice entrant's tick logs a hold rather than an error when its season's book isn't open: SEASON_CLOSED, LEAGUE_BOOK_PENDING, LEAGUE_UNAVAILABLE, or LEAGUE_PAIR for an order that isn't against USDG.

Raised by the SDKs#

The SDKs check every answer before anything is signed, and raise their own errors without calling the server:

ErrorCodeMeaning
Verification errorVERIFICATION_FAILEDsomething the server returned failed a local check; rule names it (for example RECIPIENT, FEE_CLASS, FEE_BPS, MIN_OUT, PRICE, QUOTE_OWN, IMPACT_OWN, RISK_CODES, RISK_NOT_ACCEPTED, V4_HOOKS, GRANT_BINDING, GRANT_CAPS, EXECUTOR_ATTESTATION). Nothing was signed.
Fast mode can't take itthe reasonwith fallback off, a fast trade that would fall back raises instead: FAST_PAIR, STALE (the warm state is older than its bounds), APPROVAL (no ERC-20 approval to Permit2 yet), POOL_FAR (the pool trades further under the SDK's Chainlink marks than its fee and the pair's band, 75 or 125 bps), ROUTE_CAP (the trade is over the pinned route's own size cap), MARKS_DIFFER (the SDK's RPC's marks are more than 3% from Orblivion's), FUNDS (the wallet looks short of the trade and its gas at fast mode's fee cap), REVERTED (the fast transaction's receipt reads status 0x0: only its gas was spent, and with fallback on the normal path takes the trade at a fresh nonce), COOLDOWN (the pair was refused or reverted moments ago), CONFIG_MISMATCH, or the server's refusal
Uncertain fallbackFALLBACK_UNCERTAINa fast call that may have been relayed (NONCE without proof the nonce went elsewhere, IN_FLIGHT, SUBMIT_REJECTED, SEQUENCER_UNREACHABLE, a 5xx, any other code, or no answer) went to the normal path once, at the same nonce; that failed too (other than after one of its transactions was mined, which raises TX_REVERTED or MINED_MISMATCH: the nonce is used, so the fast one can't land), and the SDK's own RPC didn't show the fast transaction within about 2 s. The message names both failures; hashes lists every transaction the trade signed. Any of them may still land, and the fast one stays valid until the wallet's next transaction: look each one up before trading again
Nonce planNONCE_PLANa trade asked to sign at a given nonce (fast mode's fallback) got a plan other than router or batch: a curve plan signs its later transactions before the first is mined. Nothing was signed
Hash mismatchHASH_MISMATCHthe server answered another hash than the signed transaction's
Config mismatchCONFIG_MISMATCHthe server's config disagrees with what the SDK pins, or doesn't publish the disclosure contract
Mined mismatchMINED_MISMATCHthe mined transaction, its output or the fee isn't what was signed
RevertedTX_REVERTEDthe transaction was mined and reverted; only gas was spent
Consent requiredCONSENT_REQUIREDa session grant that changes the wallet's code needs allow7702
Value guardVALUE_GUARD_CODE, VALUE_GUARD_FEED, VALUE_GUARD_EXPOSUREa grant with the value guard (off unless asked for) refused before anything was asked or signed: its contract isn't on this chain, a session token has no pinned Chainlink feed, or the Universal Router can still pull a token outside the session through a Permit2 allowance (revoke it first)
Code not setCODE_NOT_SETsessions.setup sent the wallet's code change, but the wallet's code doesn't read as EIP7702StatelessDeleGator afterwards; the setup wasn't sent
Insufficient fundsINSUFFICIENT_FUNDSthe wallet can't pay the value and the gas
API errorthe server's codethe server refused; code is one of the codes above, HTTP_<status> when the answer had none
Account answerACCOUNT_SHAPEan answer of client.me (GET /api/v1/me/*) isn't of the shape the SDK expects: a field missing, of another type or out of its bounds
Account walletACCOUNT_WALLETan answer of client.me is for another wallet than the client's: it is ignored
League statementLEAGUE_STATEMENTthe league statement the server asks to have signed isn't the SDK's own rebuild of it (the agent, the entrant, the wallet, the eligibility confirmation): nothing was signed
Signing mismatchSIGNING_MISMATCHthe client was asked to sign a text that isn't this wallet's own prize league statement: nothing was signed