Expand description
Frequent Bybit retCode values, as found in Error::Api.
See https://bybit-exchange.github.io/docs/v5/error for the full list.
Constants§
- AUTHENTICATION_
FAILED - User authentication failed.
- INSUFFICIENT_
AVAILABLE_ BALANCE - The available balance is insufficient (derivatives).
- INSUFFICIENT_
WALLET_ BALANCE - The wallet balance is insufficient (derivatives).
- INVALID_
API_ KEY - The API key is invalid or belongs to another environment (mainnet, testnet, demo).
- INVALID_
SIGNATURE - The signature does not match.
- IP_
NOT_ ALLOWED - The request IP is not bound to the API key.
- IP_
RATE_ LIMITED - Too many requests: the per-IP rate limit was exceeded.
- LEVERAGE_
NOT_ MODIFIED - The leverage is already the requested one.
- ORDER_
NOT_ FOUND - The order does not exist (derivatives).
- PARAMS_
ERROR - Invalid request parameters.
- PERMISSION_
DENIED - The API key lacks the permission for this endpoint.
- POSITION_
MODE_ NOT_ MODIFIED - The position mode is already the requested one.
- RATE_
LIMITED - Too many requests: the per-UID rate limit was exceeded.
- ROUTE_
NOT_ FOUND - Route not found.
- SERVER_
ERROR - Internal server error or service restarting.
- SPOT_
INSUFFICIENT_ BALANCE - The balance is insufficient (spot).
- SPOT_
ORDER_ NOT_ FOUND - The order does not exist (spot).
- SYMBOL_
NOT_ ALLOWED - The symbol is not in the API key’s symbol whitelist.
- TIMESTAMP_
OUT_ OF_ WINDOW - The request timestamp is outside
recv_window(seehttp::Client::sync_time). - TRADING_
BANNED - Trading is banned for the account.