Errors

HTTP statuses you will see on the Bit2Me API and how to react.

Use this page as a cookbook. Confirm the exact body in your logs. Do not invent error codes. The same number can mean different things on Wallet vs Pro.

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

StatusWallet (typical)Spot Trading API (typical)What to do
400Invalid or missing fieldsInvalid or missing fieldsCheck types (amounts are often strings), required fields
401HMAC / clock, or email not verified on Wallet executeHMAC / clockNTP; nonce window 5s; x-api-key + api-signature + x-nonce. On POST /v1/wallet/transaction, 401 is email not verified
403Some confirm routes are subaccount-only; HMAC sign-in and Pro funding may return invalid credentialsInvalid credentials on deposit/withdrawSame body for a bad key or a bad signature. Do not POST {} to signin/apikey. Use /v1/signin/apikey, not /v1/signin/embed. See Authentication
404Missing resourceWallet not found on Pro depositCheck ids
406Business rule (for example a pocket limit)—Treat as case-specific
412Insufficient pocket funds (Wallet execute / proforma)Price or amount outside market min/max on POST /v1/trading/orderWallet: check pocket balance. Pro: check GET /v2/trading/market-config
417Amount too low or too high on Wallet proformaNot documented on Pro add-orderCheck Wallet volume limits. Do not assume 417 on Pro
418API ban after abuse of rate limits (guide; not in the REST snapshot)SameStop traffic; contact support
420Invalid 2FA—Fresh x-totp; subaccounts use x-totp-type: gauth
423Operation blocked—Case-specific
4282FA required (including some stablecoin withdrawals)—Send TOTP headers
429Rate limitRate limitBack off. See Rate limits
500 / 502Server-sideServer-sideRetry later; check status page

Amounts and pairs

  • Use . for decimals, not , (0.5 not 0,5).
  • Prefer strings for amounts.
  • Pro symbols follow GET /v2/trading/market-config (BTC/EUR). Wallet buy/sell takes the same BTC/EUR format in pair, or pocket UUIDs. MCP tools use BTC-EUR. Do not mix formats on the same call.

Pro order error codes

Rejected Pro orders carry a code such as MAX_OPEN_ORDERS_REACHED or PRICE_PRECISION_EXCEEDED, on REST and on the WebSocket. Full list: Spot Trading API errors.

WebSocket close codes (notifications)

CodeMeaning
4000Authentication failed
4001Message rate limit

Reconnect with backoff. See Gateway WebSocket.

On this page