Skip to content

Error Codes

Client-visible error codes returned by the API, grouped by domain.

General

General API errors

CodeNameMessageHTTP Status
-113INVALID_JSONInvalid JSON payload400
-112CURRENCY_NOT_SUPPORTEDCurrency not supported400
-111MARKET_SUMMARY_NOT_FOUNDMarket summary not found404
-109INVALID_CURRENCY_SYMBOLInvalid currency symbol400
-108WITHDRAW_LIMIT_REACHEDAmount exceeds daily limit400
-94ACCOUNT_NOT_FOUNDWrong email or password.500
-93UNAUTHORIZEDUnauthorized401
-54WITHDRAW_CANCELLEDWithdraw cancelled.500
-53WITHDRAW_ALREADY_VERIFIEDWithdrawal already verified, cannot verify twice.500
-52WITHDRAW_EXPIREDWithdrawal request expired. Please create a new one.500
-50INVALID_WITHDRAW_ADDRESSInvalid Withdraw address.400
-48WITHDRAW_FEE_INCORRECTWithdraw fee incorrect, please restart withdrawal.500
-46WITHDRAW_UNAVAILABLEWithdrawal currently unavailable.500
-40UNKNOWN_ERROR_PLACING_BITTREX_ORDERWe could not fulfill the order at this time. Please try again later or contact support.500
-39ORDER_SIZE_TOO_LARGEPlease decrease your amount.400
-38ORDER_SIZE_TOO_SMALLPlease increase your amount.400
-33INVALID_INSTANT_ORDER_CURRENCYInvalid pay currency for order side and currency pair500
-32CURRENCY_PAIR_NOT_ACTIVEThe given currency pair is not active400
-30COULD_NOT_GET_RECEIVE_ADDRESSCould not get deposit address500
-29BLOCKCHAIN_SEND_FAILUREUnknown Blockchain Send Failure500
-26INVALID_BUCKET_PERIODInvalid Bucket period seconds, please see api documentation for valid period500
-24INVALID_TRADE_FEESInvalid trade fees500
-21INVALID_CURRENCY_PAIRUnsupported Currency Pair400
-11INVALID_REQUESTInvalid Request, please check your request and try again400
-9NOT_ENOUGH_LIQUIDITY_FOR_MARKET_ORDERUnable to fulfill your order, please contact support.500
-6INSUFFICIENT_BALANCEInsufficient Balance400
-1INVALID_ORDERInvalid Order.400

Miscellaneous

Miscellaneous errors

CodeNameMessageHTTP Status
-10015USER_DB_QUERY_TIMEOUTRequest timeout. Reduce your query range and try again or contact support.503

Account

Account-related errors

CodeNameMessageHTTP Status
-11672ORDER_INSTRUCTION_NOT_FOUNDOrder instruction not found404
-11669INTERNAL_TRANSFER_DUAL_AUTH_IS_REQUIREDInternal transfer requires dual auth to initiate400
-11652INTERNAL_TRANSFERS_NOT_AVAILABLEInternal transfers are currently not available.503
-11651INTERNAL_TRANSFER_REASON_IS_INVALIDInternal transfer reason is invalid for a dynamic internal transfer400
-11600REQUESTED_ACCOUNT_ACTION_ALREADY_PENDINGAccount already has a pending request for this action400
-11534ACCOUNT_BORROW_EXCEEDED_FOR_COLLATERALIZED_LENDINGAccount total borrow limit would be exceeded and is therefore not allowed.400
-11533CURRENCY_BORROW_EXCEEDED_FOR_COLLATERALIZED_LENDINGAccount borrow limit for requested currency would be exceeded and is therefore not allowed.400
-11532INVALID_LEVERAGE_MULTIPLE_SELECTEDInvalid leverage multiple selected.400
-11531PAIR_POSITION_EXCEEDED_DUE_TO_LEVERAGE_UPDATEIncreased leverage would have exceeded position limit for pair.400
-11530ORDER_TYPE_NOT_ALLOWED_IN_POST_ONLY_MODESelected order type is not allowed for the currency pair while post-only mode is in effect.400
-11529CANNOT_BORROW_CURRENCYMargin is currently not supported for this pay currency400
-11528PAIR_POSITION_EXCEEDEDOrder would have exceeded position limit for pair400
-11527ACCOUNT_BORROW_EXCEEDEDOrder would have exceeded debt limit for account400
-11526CURRENCY_BORROW_EXCEEDEDOrder would have exceeded borrow limit for currency400
-11525REDUCE_ONLY_NOT_SUPPORTED_ON_NON_FUTURE_PAIRSReduce only is not supported for non future pairs400
-11524TIME_IN_FORCE_NOT_SUPPORTED_FOR_REDUCE_ONLY_ORDERSReduce only is not supported for Good Till Cancelled orders400
-11523REDUCE_ONLY_NO_DECREASEReduce only order would not have decreased position and was therefore cancelled.400
-11522REDUCE_ONLY_NO_OPEN_POSITIONNo open position for reduce only order400
-11521SPOT_ORDER_SLIPPAGE_PROTECTEDOrder cancelled as it would have matched outside of slippage price band400
-11520FUTURE_ORDER_MATCH_OUTSIDE_PRICE_BANDOrder would have matched outside price band400
-11519FUTURE_ORDER_OUTSIDE_PRICE_BANDOrder price is outside price band400
-11515INVALID_ORDER_TYPEInvalid order type400
-11514TIME_IN_FORCE_NOT_SUPPORTED_FOR_POST_ONLY_ORDERSPost only not supported for orders other than Good Till Cancelled400
-11513POST_ONLY_NOT_SUPPORTED_FOR_STOP_ORDERSPost only not supported for stop orders400
-11512IOC_NOT_MATCHED_ON_ENTRYImmediate Or Cancel order did not match and was therefore cancelled.400
-11511FOK_NOT_MATCHED_FULLY_ON_ENTRYFill Or Kill order not fully filled and therefore cancelled.400
-11510STOP_ORDER_TRIGGERED_ON_PLACEStop order failed as it would have been triggered immediately400
-11509INSUFFICIENT_RESERVED_BALANCEInsufficient Reserved Balance400
-11506STOP_ORDER_EXISTSStop order already exists400
-11505INVALID_QUANTITYInvalid quantity400
-11504INVALID_PRICEInvalid stop order limit price400
-11503INVALID_STOP_PRICEInvalid stop price400
-11502DUPLICATE_CUSTOMER_ORDER_IDDuplicate customer order id's are not allowed400
-11500SELF_TRADE_NOT_ALLOWEDWe did not execute this order since it would have matched with your own order on the Exchange400
-11499SELF_TRADE_NOT_ALLOWED_ACROSS_ACCOUNTSWe did not execute this order since it would have matched with an order on one of your other accounts on the Exchange400
-11423SUB_ACCOUNT_PROFILE_INFO_ALREADY_EXISTSSub account with Id, E-mail or Cell number already exists409
-11420PROOF_OF_ADDRESS_REQUIRED_FUTURESProof of address verification is required to access Futures trading. Sign in to your account via website and navigate to a Futures pair to initiate verification.400
-11418PROOF_OF_ADDRESS_REQUIREDProof of address is required to access this feature.400
-11273API_KEY_WITHDRAW_ADDRESS_NOT_WHITELISTEDThe withdraw address is not whitelisted.400
-11272API_KEY_IP_NOT_WHITELISTEDThe originating IP Address has not been whitelisted.401
-11271API_KEY_COUNTRY_NOT_WHITELISTEDThe originating IP Address country has not been whitelisted.401
-11270API_KEY_TIMESTAMP_HEADER_MISSING_OR_INVALIDAPI key header missing or is invalid: X-VALR-TIMESTAMP400
-11269API_KEY_SIGNATURE_HEADER_MISSINGAPI key header missing: X-VALR-SIGNATURE400
-11264API_KEY_INVALIDAPI key or secret is invalid401
-11259API_KEY_MESSAGE_TIMESTAMP_EXPIREDTimestamp cannot be more than 10 seconds in the past400
-11258API_KEY_REQUEST_TIMESTAMP_TOO_EARLYTimestamp cannot be more than 10 seconds in the past400
-11257API_KEY_REQUEST_BLACKLISTEDDuplicate message received500
-11252API_KEY_INVALID_SIGNATURERequest has an invalid signature401
-11163CANNOT_DISABLE_SUB_ACCOUNT_WITH_BALANCESCannot disable sub account with balances400
-11136SUB_ACCOUNT_LIMIT_EXCEEDEDNew subaccount limit exceeded403
-11134SUB_ACCOUNT_NOT_FOUNDSubaccount not found400
-11133SUB_ACCOUNT_INTERNAL_TRANSFER_NOT_ALLOWEDInternal transfer did not succeed403
-11132SUB_ACCOUNT_ALREADY_EXISTSA subaccount with that label already exists403

Orders

Order timeout and processing errors

CodeNameMessageHTTP Status
-12024SLIPPAGE_PRICE_DOES_NOT_MEET_TICK_SIZEThe slippage price does not meet the minimum tick size (price increment).400
-12023INVALID_REQUEST_WITH_ADDITIONAL_INFOInvalid Request, please check your request and try again400
-12018V2_CANCEL_ORDER_REQUEST_ALREADY_SUBMITTEDDuplicate cancel order request submitted. A request for this identifier is already being processed.400
-12017INVALID_MARK_PRICE_BUCKET_REQUESTInvalid mark price buckets request.400
-12015WITHDRAWALS_NOT_AVAILABLEWithdrawals are currently not available.503
-12012INVALID_ORDER_QUANTITY_PRECISIONOrder quantity has more than allowed decimal places400
-12010INVALID_CANCEL_ORDER_REQUESTInvalid cancel order request.400
-12009MAX_OPEN_ORDERS_FOR_PAIRYou are only allowed to create a maximum of 500 open orders per currency pair400
-12008ORDER_GREATER_THAN_MAX_ORDER_SIZEOrder greater than maximum order size400
-12007MINIMUM_ORDER_SIZE_NOT_METMinimum order size not met400
-12006DOES_NOT_MEET_TICK_SIZEThe order price does not meet the minimum tick size (price increment).400
-12005ORDER_TYPE_NOT_ALLOWED_FOR_PAIRSelected order type is not allowed for the currency pair.400

Crypto

Cryptocurrency and exchange integration errors

CodeNameMessageHTTP Status
-13520WIRE_DEPOSITS_UNAVAILABLEWire deposits are currently unavailable400
-13519WIRE_WITHDRAWALS_UNAVAILABLEWire withdrawals are currently unavailable400
-13517WIRE_DEPOSIT_LOOKUP_FAILEDUnknown error when fetching wire deposit from Circle500
-13516WIRE_WITHDRAWAL_LOOKUP_FAILEDUnknown error when fetching wire withdrawal from Circle500
-13512INVALID_WIRE_BANK_ACCOUNTFailed to link bank account since the bank account details provided are invalid400
-13503WIRE_DEPOSIT_NOT_FOUNDCould not find wire deposit404
-13493WIRE_WITHDRAWAL_AMOUNT_BELOW_MINIMUMAmount is lower than the minimum400
-13480WIRE_WITHDRAWAL_NOT_FOUNDCould not find wire withdrawal404
-13479WIRE_WITHDRAWALS_TEMPORARILY_DISABLEDWire withdrawals have been temporarily suspended400
-13477WIRE_BANK_ACCOUNT_LOOKUP_FAILEDUnknown error when fetching wire bank account500
-13475WIRE_BANK_ACCOUNT_NOT_ACTIVEWire bank account is not active500
-13473WIRE_BANK_ACCOUNT_INSTRUCTIONS_LOOKUP_FAILEDUnknown error when fetching wire bank account instructions500
-13472WIRE_BANK_ACCOUNT_ALREADY_DELETEDWire bank account already deleted500
-13471WIRE_BANK_ACCOUNT_ALREADY_ACTIVATEDWire bank account already activated500
-13470WIRE_BANK_ACCOUNT_NOT_FOUNDCould not find wire bank account404
-13469WIRE_BANK_ACCOUNT_LINKING_TEMPORARILY_DISABLEDWire bank account linking has been temporarily suspended400
-13463INTERNAL_BLOCKCHAIN_SEND_REQUIRES_RECIPIENT_ADDRESSInternal blockchain send requires a recipient address500
-13430ADDRESS_BOOK_CHANGES_RESTRICTEDAddress Book changes are restricted in your region400
-13429VALR_PAY_DISABLED_BY_ADDRESS_BOOK_ONLY_WITHDRAWALSVALR Pay not available, as withdrawals to address book entries only is enabled. Please contact support to change400
-13428ADDRESS_BOOK_ENTRY_STILL_WARMING_UPAddress book entry too new. Withdrawals not allowed yet400
-13427NON_ADDRESS_BOOK_WITHDRAWALS_DISABLEDWithdrawals to addresses not in your address book are disabled. Please contact support to change400
-13426ADDRESS_BOOK_ENTRY_LABEL_IN_USEThe label provided is already in use.400
-13425ADDRESS_BOOK_ENTRY_ALREADY_ACTIVATEDThis address is already in your address book.500
-13424ADDRESS_BOOK_ENTRY_VALIDATION_FAILUREUnknown address book entry validation failure500
-13423ADDRESS_BOOK_ENTRY_CURRENCY_WRONGAddress book entry not valid for specified currency500
-13422ADDRESS_BOOK_ENTRY_NOT_FOUNDCould not find address book entry.404
-13420ADDRESS_BOOK_CHANGES_TEMPORARILY_DISABLEDAddress Book changes have been temporarily suspended400
-13419NETWORK_FEE_FOR_TRANSACTION_EXCEEDEDWithdrawals to this address are not allowed400
-13418BANK_ACCOUNT_LINKING_TEMPORARILY_DISABLEDBank account linking has been temporarily suspended400
-13417API_KEY_CREATE_TEMPORARILY_SUSPENDEDAPI Key creation has been suspended400
-13415WITHDRAWALS_TEMPORARILY_SUSPENDEDWithdrawals have been suspended400
-13411WITHDRAW_AMOUNT_BELOW_MINIMUMPlease ensure withdrawal amount is larger than400
-13410PAYMENT_REFERENCE_MISSINGThis withdrawal address requires a400
-13405INVALID_WITHDRAW_TRANSACTION_REFERENCEInvalid transaction reference400
-13404INVALID_WITHDRAW_AMOUNTInvalid withdraw amount, please ensure amount is larger than minimum400
-13403SEND_NOT_FOUNDCould not find send404
-13402CURRENCY_DOES_NOT_SUPPORT_PAYMENT_REFERENCEThis currency does not support a payment reference field400
-13400UNSUPPORTED_CURRENCY_DECIMAL_PLACESUnsupported currency decimal places400
-13213UNKNOWN_ERROR_REQUESTING_BITTREX_QUOTEWe could not fulfil your request at this time. Please try again later or contact support.500
-13212AMOUNT_MUST_BE_GREATER_THAN_ZEROAmount must be greater than zero400
-13105RECEIVE_ADDRESS_NOT_SUPPORTED_FOR_CURRENCY_NETWORK_TYPEDeposit address is not supported for the specified currency and network type400
-13104RECEIVE_ADDRESS_NOT_SUPPORTED_IN_REGIONDeposit address is not supported in your region403
-13018BLOCKCHAIN_INVALID_NETWORK_FOR_CURRENCYUnable to validate network type for provided currency400
-13017BLOCKCHAIN_SEND_TRUSTLINE_NOT_VALIDUnable to verify trustline. Please confirm that your address has an active trustline for this asset.400

Corporate

Corporate signup and verification errors

CodeNameMessageHTTP Status
-14205TRADING_WITH_CURRENCY_NOT_ALLOWEDTrading on this pair is not supported in your region451
-14204BUY_NOT_AVAILABLE_FOR_CURRENCYPurchase of currency is currently unavailable.500
-14203COULD_NOT_GET_LINKED_ACCOUNTThe requested bank account does not exist404
-14202SIMPLE_SWAP_NOT_AVAILABLE_FOR_CURRENCIESThis service is currently unavailable for one or both of the selected currencies500

Payments

Payment, fiat, and funding errors

CodeNameMessageHTTP Status
-15875FIAT_WITHDRAWALS_TO_BANK_BRANCH_RESTRICTEDWithdrawals using the selected branch code are not supported. Please try a valid branch in your region or contact support.400
-15447PAYMENT_NOT_PARTIALLY_REVERSIBLEPartial reversal of payment not allowed.400
-15440PAYMENTS_FOR_RECIPIENT_NOT_SUPPORTED_IN_REGIONPayment recipient cannot receive payments in the selected currency400
-15439PAYMENTS_FOR_SENDER_NOT_SUPPORTED_IN_REGIONPayments in the selected currency are not supported in your region400
-15438PAYMENT_NOT_REVERSIBLEReversal of payment not allowed.400
-15437RECEIVING_A_PAYMENT_DISABLED_DUE_TO_MARGININGVALR Pay not supported on an account with margin trading enabled. Coming soon!400
-15435MAKING_A_PAYMENT_DISABLED_DUE_TO_MARGININGVALR Pay not supported on an account with margin trading enabled. Coming soon!400
-15433PAYMENT_AMOUNT_EXCEEDS_MAXIMUMMaximum payment amount is400
-15432URLS_NOT_ALLOWEDURLs not allowed400
-15431INVALID_PAYMENT_HISTORY_FILTERInvalid payment filter specified400
-15430PAYMENT_AMOUNT_BELOW_MINIMUMMinimum payment amount is400
-15426PAYMENT_TO_SELF_NOT_ALLOWEDPayment cannot be sent to yourself.400
-15424UNKNOWN_PAY_IDUnknown Pay ID404
-15420PAYMENT_ALREADY_AUTHORISEDPayment already authorised400
-15418CELL_NUMBER_NOT_UNIQUEUnable to make payment. Please contact support500
-15417PAYMENT_HAS_TOO_MANY_IDENTIFIERSPayment has too many recipient identifiers400
-15416PAYMENT_MISSING_RECIPIENT_IDENTIFIERPayment missing recipient identifier400
-15407PAYMENT_NOT_FOUNDCannot find payment404
-15401PAYMENT_TO_RECIPIENT_DISABLEDUnable to make payment. Please contact support400
-15400PAYMENTS_TEMPORARILY_DISABLEDPayments have been temporarily suspended400
-15322CAN_NOT_WITHDRAW_TO_A_DELETED_BANK_ACCOUNTThis bank account has been deleted. Please add the account and try again.400
-15321CAN_NOT_WITHDRAW_TO_AN_UNCONFIRMED_BANK_ACCOUNTThis bank account is not confirmed. Please complete our verification process to withdraw.400
-15320FIAT_WITHDRAWALS_NOT_ALLOWED_FOR_CURRENCYWithdrawals in the selected currency are not supported in your region451
-15318FIAT_WITHDRAWAL_CURRENCY_MISMATCHWithdrawal currency does not match the currency of selected bank account400
-15317BANK_REMOTE_FETCH_FAILUREUnable to fetch remote list of banks500
-15315INVALID_BANK_CODEBank code not found404
-15314COULD_NOT_ACQUIRE_WITHDRAWAL_LOCKWithdrawal could not be processed. Please try again.500
-15309CAN_NOT_WITHDRAW_TO_AN_UNVERIFIED_BANK_ACCOUNTThis bank account is not verified. Please withdraw to a verified account.400
-15307FIAT_WITHDRAWAL_AMOUNT_BELOW_MINIMUMAmount is lower than the minimum400
-15209CAN_NOT_ACTIVATE_DELETED_LINKED_ACCOUNTThis bank account has been deleted and can not be activated again400
-15208LINKED_ACCOUNT_ALREADY_ACTIVATEDThis bank account has already been linked400
-15207LINKED_ACCOUNT_REGISTRATION_EXPIREDThe authorization link has expired. Please start over.400
-15134CURRENCY_NOT_ALLOWED_FOR_FIAT_DEPOSIT_AUTO_BUYAuto-buys in the selected currency are not supported in your region451
-15132CURRENCY_NOT_ENABLED_FOR_FIAT_DEPOSIT_AUTO_BUYCurrency not enabled for Auto-Buy400
-15111FIAT_DEPOSITS_NOT_ALLOWED_FOR_CURRENCYDeposits in the selected currency are not supported in your region451
-15105COULD_NOT_GET_FIAT_DEPOSIT_REFERENCE_CODECould not get deposit reference code. Please try again.500

Account Management

Account configuration and sub-account errors

CodeNameMessageHTTP Status
-17216CANNOT_DISABLE_SHARED_SUB_ACCOUNTCannot disable shared sub account400

Price Alerts

Price alert errors

CodeNameMessageHTTP Status
-18006UNSUPPORTED_PRICE_ALERT_CURRENCY_PAIRThe given currency pair is not enabled for price alerts at this time.400
-18004MAX_PRICE_ALERTSPrice alerts Limit Reached, you are allowed up to 20.400
-18001PRICE_ALERT_NOT_FOUNDCannot find price alert to delete.404
-18000PRICE_ALERT_ALREADY_EXISTSCannot add the price alert as it already exists for the given currency pair and price.400

Maintenance

Feature maintenance and proxy errors

CodeNameMessageHTTP Status
-19802INVALID_PAYMENT_PROVIDER_SERVICEUnsupported payment provider404
-19800UNKNOWN_ERROR_FROM_COMPETITION_SERVICEUnknown error occurred while processing competition request, please contact support500
-19700UNKNOWN_ERROR_FROM_STAKING_SERVICEUnknown error occurred while processing staking operation, please contact support500
-19502CURRENCY_UNDER_MAINTENANCECurrency currently under maintenance. Please try again in a few minutes.500
-19244BORROW_FOR_WITHDRAWAL_NOT_AVAILABLE_FOR_SELECTED_CURRENCYBorrowing for withdrawal and internal transfers currently not available for selected currency400
-19243BORROW_FOR_WITHDRAWAL_NOT_AVAILABLEBorrowing for withdrawal and internal transfers currently not available400
-19242NON_MARGIN_PAIR_NOT_SUPPORTED_ON_MARGIN_ACCOUNTS_ACTIVATE_MARGINNon margin pair trades are currently not supported on margin enabled accounts. Please cancel all open orders on non margin pairs before enabling margin, or, use a different sub-account.400
-19241NON_MARGIN_PAIR_NOT_SUPPORTED_ON_MARGIN_ACCOUNTSNon margin pair trades are currently not supported on margin enabled accounts. Please consider using a different sub-account to trade non margin pairs.400
-19240SWAP_NOT_SUPPORTED_ON_ACCOUNT_WITH_MARGIN_OR_FUTURESSimple swaps are not available on Margin or Futures Accounts. Please use a Sub Account that does not have Margin or Futures enabled.400
-19239INVALID_AMOUNTInvalid loan amount.400
-19238INVALID_LOAN_RATEInvalid loan rate, cannot be more than 10 digits400
-19237COULD_NOT_REQUEST_CANCEL_LOAN_UNLOCKSomething went wrong and we could not cancel your request to unlock your loan, please try again or contact support500
-19236CANNOT_CANCEL_NO_LOAN_UNLOCK_NOT_REQUESTEDCancel Loan unlock request not processed, no existing unlock requested400
-19232UNLOCK_REQUEST_AMOUNT_GREATER_THAN_LOAN_AMOUNTThe requested unlock amount is more than the total loan amount400
-19230LOAN_UNLOCK_ALREADY_REQUESTEDLoan unlock already requested, please cancel the existing unlock if adjustment is needed400
-19229STOP_ORDERS_NOT_SUPPORTED_FOR_FUTURESStop Orders are currently not supported for futures400
-19228CANNOT_DISABLE_FUTURES_FOR_ACCOUNTDisabling futures for an account is not currently supported400
-19227FUTURES_NOT_ENABLED_FOR_ACCOUNTFutures trading is not enabled for this account. Sign in to your account via website and navigate to a Futures pair to enable.400
-19225CANNOT_DISABLE_MARGIN_FOR_ACCOUNTDisabling margin for an account is not currently supported400
-19222COULD_NOT_ADD_LOANWe could not add your loan request, please contact support500
-19220MARGIN_NOT_SUPPORTED_FOR_ORDER_TYPEMargin not enabled currently enabled on given order type400
-19219MARGIN_NOT_ENABLED_FOR_PAIRMargin not enabled for given currency pair400
-19214ACCOUNT_IN_LIQUIDATIONRequest cannot be placed when account is in liquidation400
-19213MARGIN_NOT_ENABLED_FOR_ACCOUNTMargin not enabled for account400
-19209PLEASE_UNLOCK_EXISTING_LOAN_FIRSTPlease unlock existing loan first before creating a new one400
-19208COULD_NOT_REQUEST_LOAN_UNLOCKSomething went wrong and we could not request to unlock your loan, please try again or contact support500
-19207LOAN_NOT_FOUNDLoan not found404
-19202INSUFFICIENT_LIQUIDITY_FOR_BORROWThe borrow amount is unavailable currently, please try again later500

Futures

Futures and margin trading errors

CodeNameMessageHTTP Status
-21417COULD_NOT_SUBMIT_MODIFY_CONDITIONAL_REQUESTCould not submit modify conditional order request, please try again later or contact support.500
-21416CONDITIONAL_MODIFY_TRIGGERED_IMMEDIATELYCould not modify conditional order as it would have triggered immediately400
-21414CONDITIONAL_WOULD_NOT_HAVE_MODIFIEDModify conditional order would not have modified anything and was cancelled400
-21413COULD_NOT_FIND_CONDITIONAL_ORDER_TO_MODIFYInvalid order id, could not find conditional order to modify400
-21411LINKED_ORDER_NOT_FOUNDLinked order not found for pair.400
-21410LINKED_ORDER_HAS_TRIGGER_ORDEROrder already has a linked conditional order, modify or cancel your existing conditional order.400
-21409CONDITIONAL_ORDERS_NOT_SUPPORTED_ON_SPOTConditional orders are not supported on non futures pairs400
-21408TOO_MANY_CONDITIONAL_ORDERSMaximum number of conditional orders exceeded.400
-21405NO_OPEN_POSITION_FOR_CONDITIONAL_ORDERNo open position for conditional order400
-21403CONDITIONAL_TRIGGERED_IMMEDIATELYCould not place conditional order as it would have triggered immediately400
-21402TAKE_PROFIT_MORE_THAN_STOP_LOSSStop loss can't be less than take profit on sell400
-21401TAKE_PROFIT_LESS_THAN_STOP_LOSSTake profit can't be less than stop loss on buy400
-21400TAKE_PROFIT_STOP_LOSS_PRICE_EQUALTake profit and stop loss price can't be equal400
-21313MODIFY_ORDERS_DISABLEDModify orders currently disabled400
-21311MODIFY_REQUEST_NOT_ALLOWED_WITH_PLACE_IN_SAME_BATCHA modify request is not allowed in the same batch as a place request400
-21306COULD_NOT_SUBMIT_MODIFY_REQUESTCould not modify order request, please try again later or contact support.500
-21304UNKNOWN_MODIFY_ORDER_ERRORCould not modify the order, please cancel if not cancelled and re-place500
-21302COULD_NOT_FIND_ORDER_TO_MODIFYInvalid order id, could not find order to modify400
-21100CANNOT_CHANGE_PRIMARY_ACCOUNT_MARGIN_STATUSCan only change margin account status on a sub account400

Platform

Platform, policy, and system errors

CodeNameMessageHTTP Status
-30071SERVICE_PROVIDER_NOT_FOUNDService provider not found.400
-30068BENEFICIARY_INFO_REQUIREDBeneficiary info required400
-30024BROKERAGE_INSTRUCTION_TARGET_ACCOUNT_EQUALS_FEE_ACCOUNTFee account can not be the same as trade account400

Withdrawal Restrictions

Withdrawal restriction errors

CodeNameMessageHTTP Status
-32765WITHDRAWAL_RESTRICTION_APPLIEDWithdrawal denied. Minimum portfolio value would not be met after this withdrawal.400