✨API Error Codes
Error Response Format:
{
"success": false,
"data": null,
"error": "HEADER_INVALID",
"errorField": "API-TIMESTAMP",
"errorMessage": "Header API-TIMESTAMP is not accurate."
}
Error Code Summary
PARAMETER_INVALID
Parameter error: the request parameter is invalid.
SIGNATURE_INVALID
Signature error: the signature is invalid.
SIGNATURE_EXPIRED
Signature error: the signature is expired.
HEADER_INVALID
Header error: the request header is invalid.
AUTH_AUTHORIZATION_INVALID
Authenticate error: Authorization header is invalid.
AUTH_AUTHORIZATION_EXPIRED
Authenticate error: Authorization header is expired.
AUTH_APIKEY_INVALID
Authenticate error: API key is invalid.
AUTHORIZATION_INVALID
Authorization error: Authorization is invalid.
AUTH_APIKEY_DISABLED
Authenticate error: API key is disabled.
AUTH_IP_FORBIDDEN
Authenticate error: IP forbidden.
AUTH_GA_INVALID
Authenticate error: GA is invalid.
AUTH_SIGNATURE_INVALID
Authenticate error: API signature is invalid.
AUTH_USER_FORBIDDEN
Authenticate error: user forbidden to access the resource.
AUTH_ACCOUNT_FORBIDDEN
Authenticate error: user with current account forbidden to access the specified account.
AUTH_USER_NOT_ACTIVE
Authenticate error: user not active.
AUTH_SIGNIN_REQUIRED
Authenticate error: please signin first.
AUTH_SIGNIN_FAILED
Authenticate error: signin failed.
ACCOUNT_NO_ENOUGH_BALANCE
Account error: no enough balance.
ACCOUNT_NO_ENOUGH_AVAILABLE
Account error: no enough available.
ACCOUNT_NO_ENOUGH_MARGIN
Account error: no enough margin.
ACCOUNT_TRANSFER_FAILED
Account error: transfer failed.
ACCOUNT_FREEZE_FAILED
Account error: freeze failed.
ACCOUNT_UNFREEZE_FAILED
Account error: unfreeze failed.
TRANSFER_NOT_FOUND
Transfer error: transfer not found.
USER_NOT_FOUND
User error: user not found.
USER_HAS_NO_PERMISSION
Permission error: user has no permission.
USER_CANNOT_SIGNIN
Permission error: user cannot signin.
USER_BLOCKED
Permission error: user is blocked.
USER_CANNOT_TRANSFER
Permission error: user cannot transfer.
USER_CANNOT_TRADE
Permission error: user cannot trade.
USER_CANNOT_WITHDRAW
Permission error: user cannot withdraw.
USER_EMAIL_EXIST
Registration error: user email already exist.
POSITION_NOT_INIT
Position error: the specific position not initialized.
POSITION_NOT_FOUND
Position error: the specific position not found.
POSITION_CHANGE_FAILED
Position error: the change of specific position is failed.
POSITION_MARGIN_CANNOT_REMOVE
Position error: cannot remove position margin.
ORDER_NOT_FOUND
Order error: the specific order not found.
ORDER_INVALID
Order error: the specific order is invalid.
ORDER_EXCEEDED
Order error: order exceeds the maximum active limit.
INDEX_VALUE_NOT_FOUND
Index error: the specific index value not found.
PRICE_EXCEEDED
Order error: limit price exceeded than maximum allowed.
MARKET_NOT_READY
Market error: Fair prices are not fetched.
DEPOSIT_FAILED
Deposit error: the deposit cannot be done because errors.
DEPOSIT_DISABLED
Deposit is disabled.
DEPOSIT_CANCEL
Deposit error: the deposit was cancelled because blockchain forks.
RETRY_LATER
This operation cannot be done but can retry later.
ADDRESS_INVALID
Invalid address.
ADDRESS_CHECK_FAILED
Address failed to check.
ADDRESS_NOT_ALLOWED
Address is not allowed.
ADDRESS_MAXIMUM
Cannot add more address.
ADDRESS_DUPLICATE
Duplicate address.
Last updated