Phoenix Prediction Docs

Errors

Common public error codes and meanings

Wallet-Facing Errors

SituationRecommended response
Player does not have fundsHTTP 200, {"type":"ERROR","code":"insufficient_funds"}
Phoenix signature is invalidHTTP 401
Request body is malformedHTTP 400
Temporary operator outageHTTP 5xx

Player-Facing Phoenix Reasons

ReasonMeaning
login_requiredVisitor attempted a player-only action
insufficient_fundsOperator debit rejected for funds
wallet_timeoutDebit call timed out
wallet_unavailableDebit could not reach operator wallet
wallet_errorDebit failed for another transport reason
duplicate_requestSame wager request was already reserved
market_not_foundMarket does not belong to this operator or does not exist
market_not_openMarket is not currently tradable
invalid_outcomeOutcome ID is not valid for the market
invalid_budgetBet amount is missing, zero, negative, or malformed
rate_limitedClient is sending requests too quickly

Show friendly copy to players. Keep the raw reason in logs for support.

Operator API Errors

HTTP statusMeaning
401Signature, timestamp, operator code, or key verification failed
404Resource not found within the authenticated operator scope
422Request was authenticated but invalid for the market state or schema

On this page