OKX API 60018 “doesn’t exist” in Node.js: keep delisted pairs out of your WebSocket subscriptions
OKX 60018 means a WebSocket channel or instId doesn’t exist. With okx-api, subscribe only to live instruments and unsubscribe when a pair is delisted.
OKX 60018 means a WebSocket channel or instId doesn’t exist. With okx-api, subscribe only to live instruments and unsubscribe when a pair is delisted.
KuCoin error 200004 (“Balance insufficient”) usually does not mean the account is empty. It means the account the order draws from has too little available balance. With the kucoin-api Node.js SDK you can see which…
OKX error 51000 means “Parameter {name} error”, and the version that catches most people placing perpetual or futures orders is “Parameter posSide error”. It isn’t a signing or permissions problem. It means the posSide you…
Binance’s error code list is long, and it tells you what each code means but not what to do in your code when you hit one. This guide shows how errors arrive in Node.js with…
Hyperliquid doesn’t hand out API keys. Instead, your main wallet approves an API wallet (also called an agent wallet): a separate private key that can sign trading actions for your account but can’t withdraw. It’s…
Binance returns -2015 when it won’t accept the API key for the request you just made. The message, “Invalid API-key, IP, or permissions for action.”, bundles three different problems into one code, which is why…
When a signed Gate request fails, the response body tells you which check it failed. For a bad key it looks like this: { "label": "INVALID_KEY", "message": "Invalid key provided" } Gate API v4 says…
If a signed Binance request fails with one of these, the problem is time, not your keys: { "code": -1021, "msg": "Timestamp for this request is outside of the recvWindow." } { "code": -1021, "msg":…
EAPI:Invalid nonce means Kraken received a private request whose nonce was not higher than the last one it accepted for that API key. Your key and signature can be perfectly fine. The problem is ordering.…
If a Bitget private call fails with {“code”:”40009″,”msg”:”sign signature error”}, Bitget rebuilt the signature from your headers and body and got a different answer. The key is usually fine. Something in the bytes you signed…
We use essential cookies and optional analytics. Privacy Policy.