Skip to content

Troubleshooting ​

Common symptoms ​

SymptomWhat to check
Promise resolves, but the operation failedInspect retCode and retMsg; default REST behaviour does not throw on nonzero retCode.
Empty ticker listCheck the symbol and category. Verify the instrument exists in that market and environment.
API key or permission errorMatch the key to live, Testnet or demo; check account permissions and IP restrictions.
Timestamp or receive-window errorSynchronize the host clock, check network latency, and review recv_window.
HTTP or rate-limit rejectionInspect HTTP status and exchange code separately; slow down using the current endpoint limits.
No WebSocket market dataRegister an update listener before subscribing; inspect exception, topic and category.
Old data after a reconnectReconcile application state and apply the topic's snapshot/delta rules.
Process stays aliveClose WebSocket connections with closeAll() and clear application timers.

Installation and imports ​

Run npm ls bybit-api to check the installed version. The JavaScript Quickstart uses .mjs; the TypeScript examples need a compiler or runner. Check exported clients in the API reference.

Reporting a problem ​

Include SDK and Node.js versions, client, environment, method, HTTP status and exchange error code. Add a minimal request example or, for streams, the topic and connection events. Remove credentials, signatures and private account data before sharing.

More help ​

Built by Siebly. Open source SDKs for exchange APIs.