Errors

HTTP statuses and order error codes returned by the Spot Trading API, over REST and WebSocket.

Before you debug, check status.bit2me.com. If the platform is healthy and the error repeats, open a support ticket with timestamp (UTC), path, HTTP status, and a redacted body.

HTTP statuses

StatusTypical cause on Pro RESTWhat to do
400Invalid or missing fieldsCheck types (amounts are often strings) and required fields
401HMAC or clockNTP; nonce window 5s; x-api-key + api-signature + x-nonce. See Fix HMAC 401
403Invalid credentials on deposit/withdrawSame body for a bad key or a bad signature. See Authentication
404Wallet not found on depositCheck ids
412Price or amount outside market min/max on POST /v1/trading/orderCheck GET /v2/trading/market-config
418API ban after abuse of rate limitsStop traffic; contact support
429Rate limitBack off. See Rate limits
500 / 502Server-sideRetry later; check the status page

Order errors

The code returned when an order or a funding operation is rejected, on REST and on the WebSocket.

CodeDescription
AMOUNT_PRECISION_EXCEEDEDThe amount has more decimals than this market supports
BUY_PRICE_IS_ABOVE_INITIAL_PRICEThe buy price is above the initial price set for a market that has not started yet
BUY_STOP_PRICE_IS_BELOW_INITIAL_PRICEThe stop buy price is below the initial price set for a market that has not started yet
CREATE_ORDERS_DISABLED_TEMPORALLYOrder creation is temporarily disabled
CURRENCY_NOT_SUPPORTEDCurrency not supported
DELETE_CLOSED_ORDERThe order you are trying to cancel is already deleted or completed
DELETE_ORDERS_DISABLED_TEMPORALLYOrder cancellation is temporarily disabled
DEPOSITS_DISABLED_TEMPORALLYDeposits are temporarily disabled
ERROR_CREATING_INTERNAL_ORDERThere was an error creating the order
ERROR_CREATING_ORDERThere was an error creating the orders
MARKET_CONFIG_NOT_FOUNDThe market does not exist or is disabled
MAX_CREATED_ORDERS_REACHEDThe maximum number of orders created in the last hour for this market has been reached
MAX_OPEN_ORDERS_REACHEDThe maximum number of open orders has been reached
MISSING_FROM_POCKET_IDThe source pocket of the funds is missing
NOT_ENOUGH_BALANCENot enough funds
NOT_ENOUGH_LIQUIDITYNot enough liquidity in the market
ONLY_LIMIT_ORDERS_ALLOWEDOnly limit orders can be created at this time
ORDER_AMOUNT_GREATER_MARKET_MAXThe amount is above the maximum for this market
ORDER_AMOUNT_GREATER_TOTAL_AMOUNT_IN_PURCHASEThe sell amount exceeds the total buy liquidity for this market
ORDER_AMOUNT_GREATER_TOTAL_AMOUNT_IN_SALEThe buy amount exceeds the total sell liquidity for this market
ORDER_AMOUNT_LOWER_EQUAL_ZEROThe amount must be positive
ORDER_AMOUNT_LOWER_MARKET_MINThe amount is below the minimum for this market
ORDER_PRICE_LOWER_EQUAL_ZEROThe price must be positive
ORDER_SIZE_LOWER_MARKET_MINThe order size (amount × price) is below the minimum for this market
ORDER_STOP_PRICE_LOWER_EQUAL_ZEROThe stop price must be positive
PRICE_GREATER_MARKET_MAXThe price is above the maximum for this market
PRICE_LOWER_MARKET_MINThe price is below the minimum for this market
PRICE_PRECISION_EXCEEDEDThe price has more decimals than this market supports
SELL_PRICE_IS_BELOW_INITIAL_PRICEThe sell price is below the initial price set for a market that has not started yet
SELL_STOP_PRICE_IS_ABOVE_INITIAL_PRICEThe stop sell price is above the initial price set for a market that has not started yet
TIME_IN_FORCE_INVALIDThis timeInForce is not allowed for this order type
TRADING_WALLET_NOT_BALANCEThe wallet has no balance
TRADING_WALLET_NOT_FOUNDWallet not found
USER_IS_ALREADY_CREATING_ORDERYou are creating another order at the same time
WITHDRAWS_DISABLED_TEMPORALLYWithdrawals are temporarily disabled

Market minimums, maximums and precisions come from GET /v2/trading/market-config.

On this page