Below are the REST API and WebSocket API error codes for LBank exchange, including detailed descriptions. For more details, refer to the official documentation: LBank API Documentation.
REST API Error Codes
General Errors
|
Error Code
|
Description
|
|
10000
|
Internal error
|
|
10001
|
Required parameters cannot be empty
|
|
10002
|
Validation failed
|
|
10003
|
Invalid parameters
|
|
10004
|
User requests too frequent
|
|
10017
|
Server exception
|
User-Related Errors
|
Error Code
|
Description
|
|
10005
|
API key does not exist
|
|
10006
|
User does not exist
|
|
10007
|
Invalid signature
|
|
10022
|
Insufficient API key permissions
|
Trading-Related Errors
|
Error Code
|
Description
|
|
10008
|
This trading pair is not supported
|
|
10009
|
Limit order missing price or quantity
|
|
10010
|
Order price or quantity must be greater than 0
|
|
10013
|
Trade amount below minimum position requirement (0.001)
|
|
10014
|
Insufficient account balance for the currency
|
|
10015
|
Invalid order type
|
|
10016
|
Insufficient account balance
|
|
10020
|
Trade amount below minimum amount requirement (0.001)
|
|
10021
|
Limit order price below minimum trade amount (0.01)
|
|
10023
|
Market trading not supported
|
|
10024
|
User cannot trade this trading pair
|
|
10025
|
Order has been filled
|
|
10026
|
Order has been canceled
|
|
10027
|
Order is in the process of being canceled
|
|
10028
|
Invalid query time
|
|
10029
|
'from' is not within the query time range
|
|
10030
|
'from' does not match the queried transaction type
|
|
10106
|
Trading not allowed outside trading hours
|
|
10107
|
Abnormal opening price data
|
|
10108
|
Order price exceeds price fluctuation limit, cannot place order
|
Order Query and Cancellation Errors
|
Error Code
|
Description
|
|
10018
|
Order query count must be between 1 and 50
|
|
10019
|
Cancellation count must be between 1 and 3
|
|
10104
|
Order has been processed, cannot be canceled
|
|
10105
|
Order has already been canceled
|
Withdrawal-Related Errors
|
Error Code
|
Description
|
|
10100
|
No withdrawal permission
|
|
10101
|
Incorrect withdrawal fee rate
|
|
10102
|
Withdrawal amount below minimum limit per transaction
|
|
10103
|
Withdrawal amount exceeds daily limit
|
WebSocket API Error Codes
|
Error Code
|
Description
|
|
10000
|
Request parameters cannot be empty
|
|
10001
|
Invalid request parameters
|
|
10002
|
Requests too frequent
|
|
10003
|
Service does not exist or duplicate request
|
Usage Guidelines
-
Error Troubleshooting: Check parameters, permissions, or account status based on the error code to ensure compliance with API requirements.
-
Rate Limits: For errors 10004 or 10002, review request frequency and reduce as needed.
-
Trading Restrictions: For trading-related errors (e.g., 10008, 10024), verify if the trading pair is supported or if the user has trading permissions.
-
Query and Cancellation: Ensure query or cancellation counts are within limits (10018, 10019).
-
Withdrawal Issues: Check withdrawal permissions, fee rates, and amount limits (10100-10103).
-
Contact Support: For internal errors like 10000 or 10017, contact LBank support at service@lbank.com.