# Errors List of possible `error` values in the API Response: ### General
Error CodeError ValueDescription
1000/1015RateLimitToo Many Requests: You have exceeded the rate limit. Please reduce your request frequency and try again later.
1001BlacklistedAddressThis address has been blacklisted from accessing the sequencer due to a violation of the Terms of Service. If you believe this is an error, please reach out for assistance.
1002BlockedLocationAccess from your current location ({location}) is blocked. Please check your location and try again.
1003BlockedSubdivisionAccess from your current location ({location} - {subdivision}) is blocked. Please check your location and try again.
1004MaintenanceService is temporarily unavailable due to scheduled maintenance. Please try again later.
### Execute / Query API
Execute Error Response ```json { "status": "failure", "signature": {signature}, "error": "{error msg}", "error_code": {error_code} } ```
Query Error Response ```json { "status": "failure", "error": "{error msg}", "error_code": {error_code} } ```
Error CodeError ValueDescription
2000InvalidPriceIncrementInvalid order price: Order price, {order.price}, is not divisible by the price_increment_x18; price_increment_x18 for product {product_id}: {price_increment_x18}.
2001InvalidAmountIncrementInvalid order amount: Order amount, {order.amount}, must be divisible by the size_increment; size_increment for product {product_id}: {size_increment}.
2002ZeroAmountInvalid order amount: The provided amount is zero. Please specify a valid order amount.
2003OrderAmountTooSmallInvalid order amount: Order amount, {order.amount}, is too small. abs(amount) must be >= min_size; min_size for product {product_id}: {min_size}.
2004OrderExpiredInvalid order expiration: The order has already expired. Please ensure the expiration date is in the future.
2005MaxOrdersLimitReachedYou have reached the maximum number of open orders allowed for this market.
2006UnhealthyOrderInsufficient account health. The execution of this order would lower your account health below the required threshold. Please adjust your order size or manage your positions to maintain a healthy account balance.
2007OraclePriceDifferenceOrder price must be no less than 20% and no more than 500% of the determined oracle price.
2008PostOnlyOrderCrossesBookThe order cannot be placed as it is post-only and crosses the book. Please adjust your order parameters.
2009OrderTypeNotSupportedThe order type you are trying to use is not currently supported.
2010InvalidTakerInvalid taker: The order placement health checks were successfully passed; however, the health checks failed upon matching.
2011LateRecvExecutionExecute request received after ‘recv_time’. Ensure that your ‘recv_time’ allows adequate time for requests to be received.
2012EarlyRevcExecutionExecute request received more than 100 seconds before the 'recv_time'. Ensure that the request is sent no more than 100 seconds prior to the 'recv_time'.
2013DigestAlreadyExistsThe provided digest already exists. Ensure that the provided digest is unique.
2014UnauthorizedSubaccountCancellationOperation failed. You're attempting to cancel an order for a different subaccount. Please verify the subaccount.
2015MarketNotFoundThe market for the given product or ticker ID was not found. Please try again with a different product or ticker ID.
2016InvalidProductIdThe provided 'product_id' is invalid. Please verify and input a valid 'product_id'.
2017SpotExecuteExceedsBorrowLimitExecuting this action could result in exceeding your borrowing limit as your spot leverage is currently set to false. Please adjust your withdrawal amount or manage your borrowings to prevent potential risk.
2019InappropriateSpotLeverageSpot leverage cannot be applied to a non-spot product. Please ensure you're using the correct type of leverage for the product in question.
2020OrderNotFoundOrder with the provided digest ({digest}) could not be found. Please verify the order digest and try again.
2021AddressRiskTooHighThe risk associated with the provided address is too high. Please use a different address or mitigate the associated risk.
2022InvalidNonceThe provided nonce is invalid. Ensure the nonce is correct and try again.
2023AddressScreeningPendingRisk screening check for the provided address is still in progress. Please wait until the check is complete before proceeding.
2024NoPriorDepositThe provided address has no previous deposits. Ensure you're using an address with prior deposits.
2025SingleSignatureInsufficientAccountValueYour account must hold a minimum value of 5 USDT0 to enable single signature sessions. Please ensure your account balance meets this requirement.
2026DuplicateSignerLinkingYou cannot link a signer to the same address more than once. Please provide a unique address for each signer.
2027SignatureLengthThe provided signature does not meet the required length specifications. Please verify and provide a valid signature.
2028InvalidSignerThe provided signature does not match with the sender's or the linked signer's. Please verify and provide the correct signature.
2029InvalidSignerZeroSigner cannot be zero. Please provide a valid non-zero signer.
2030LinkedSignerUpdateLimitExceededLinked Signer update limit exceeded. Please wait for {{wait_time}} seconds before trying again.
2031FillOrKillNotFilledYour 'Fill or Kill' order could not be entirely filled. Slippage parameters may be too conservative or size too large.
2033NonceMissingInPayloadNo nonce provided in the request payload. Please ensure a valid nonce is included.
2034InvalidSignatureVInvalid Signature: The 'v' value of the signature you provided is not valid. Please verify your signature and try again.
2035SignatureErrorSignature error: {error_msg}
2036SubaccountHealthTooLowSubaccount health insufficient. Please ensure sufficient health level in your subaccount to proceed.
2037ExcessiveLPTokenBurnAttempt to burn more LP tokens than currently owned. Please adjust the amount to match or be less than your current LP token balance.
2038InvalidExecuteMessageThe execute message provided is invalid. Please verify and provide a valid execute message.
2039MismatchedDigestsAndProductIdsLength'digests' and 'productIds' arrays should have the same length. Please ensure their lengths match.
2040InvalidBoolThe value you entered is not a valid boolean. Please try again with a value of true or false.
2041RebateExecuteFormattingThe length of 'subaccounts' array does not match the length of 'amounts' array. Ensure that both arrays have the same number of elements and try again.
2042NotLiquidatableFailed to initiate liquidation: The account does not meet the requirements for liquidation.
2043LiquidatorHealthTooLowFailed to initiate liquidation: The liquidator's account health is too low.
2044PositiveInitialHealthLiquidationAttemptFailed to initiate liquidation: The account to be liquidated has positive initial health.
2045InvalidLiquidationParametersFailed to initiate liquidation: Attempted to liquidate quote or provided invalid liquidation parameters.
2046PerpLiquidationSizeIncrementMismatchFailed to initiate liquidation: Attempted to liquidate perpetual contract but the amount is not divisible by sizeIncrement.
2047InvalidLiquidationAmountFailed to initiate liquidation: Attempted to liquidate either too little, too much or the signs are different.
2048LiabilitiesBeforePerpsLiquidationAttemptFailed to initiate liquidation: Attempted to liquidate liabilities before perpetual contracts.
2049TransferFailedERC20 Transfer failed. Please verify the transaction details.
2050UnauthorizedActionUnauthorized action attempted. Please ensure you have the necessary permissions.
2051NotFinalizableSubaccountAttempted to finalize a subaccount which is not eligible for finalization. Ensure that the subaccount meets all the necessary conditions before proceeding.
2052InvalidMakerThe maker order subaccount is invalid or has failed the risk check. Please verify the subaccount and ensure it meets the necessary risk parameters.
2053OrdersCannotBeMatchedOrder failed to match due to an internal error. Please try again.
2054SlippageTooHighThe requested operation could not be completed due to excessive slippage. Please adjust your order to match market conditions.
2055InvalidPriceInvalid price provided. The price must be greater than 0. Please input a valid price.
2056ImmediateOrCancelDoesNotCrossYour 'Immediate or Cancel' order does not cross the book. Please review the market conditions or adjust your order.
2057MaxTriggerOrdersLimitReachedYou have reached the maximum number of trigger orders allowed for this subaccount.
2058TriggerOrderNotFoundTrigger order with the provided digest ({digest}) could not be found. Please verify the order digest and try again.
2059NotTriggerOrderSubmitted order is not a trigger order.
2060InvalidProductIdsThe provided 'product_ids' is invalid. Please verify input contains only valid products and no duplicates.
2061InvalidProductTypeInvalid product type {{product_type}}. 'product_type' must be 'spot' or 'perp'
2062MissingProductIdsThe 'product_ids' provided is empty. Please ensure you include a non-empty list of valid product_ids in your request.
2063InvalidQueryResponseInvalid query response. Expected {{Response}}.
2064ReduceOnlyIncreasesPositionReduce only order increases position.
2065InvalidExpirationBitsInvalid expiration bits: The 4th to 6th most significant bits are reserved and must be unset.
2066CancelAndPlaceDifferentSenderOrSignerSender or signer of cancel and place are not the same.
2067ReduceOnlyNotTakerOnly taker orders can be set as reduce only.
2068SystemUnderMaintenanceWe're currently performing maintenance on the system. Please try again later.
2069MarketTradingBlockedTrading is blocked for this market.
2070MarketMaxOpenInterestMarket has reached maximum open interest. Please only close positions at this time.
2071MaxUtilizationProduct at maximum utilization
2072OrderBatchExceedLimitThe number of specified 'orders' exceeds the limit. Please reduce the 'orders' to meet the defined limit.
2073SelfMatchNotAllowedSelf-match is not allowed.
2074MismatchedProductIdsProduct IDs do not match.
2075NonDefaultPrivateBatchOrderPrivate batch order types must all be default.
2076InvalidTriggerPrivateBatchOrderPrivate batch order cannot be trigger order.
2077TransferQuoteAmountTooSmallTransfer quote amount is too small. You must transfer a minimum of 5 USDT0.
2078TransferQuoteNewRecipientLimitExceededTransfer quote to new recipients limit exceeded. Please wait 24hrs before transferring quote to new recipients.
2079SelfTransferQuoteNotAllowedSelf-transfer quote is not allowed.
2080WebsocketCompressionRequiredSubscriptions require the header 'Sec-WebSocket-Extensions' with value 'permessage-deflate'.
2081IsolatedSubaccountCannotPlaceIsolatedOrderAn isolated subaccount cannot place an isolated order.
2082IsolatedSubaccountInvalidProductInvalid product_id for isolated subaccount.
2083InvalidIsolatedSpotOrderIsolated orders cannot be placed on spots.
2084InvalidIsolatedTriggerOrderIsolated orders cannot be trigger orders.
2085InvalidIsolatedReduceOnlyOrderIsolated orders cannot be reduce-only.
2086InvalidIsolatedMarginIsolated margin must be non-negative.
2087FailedToCreateIsolatedSubaccountFailed to create isolated subaccount.
2088InvalidOrderFromIsolatedSubaccountOrders from isolated subaccount must be reduce-only.
2089InvalidLinkSignerSenderCannot link signer to isolated subaccount.
2090MintNlpAmountTooSmallNlp minting amount is too small. You must mint a minimum of 1 USDT0.
2091AmountTooLargeAmount is too large.
2092NAccountHealthTooLowN_ACCOUNT health insufficient.
2093NotCanonicalChainCan not execute in non-canonical chains.
2094OrderSizeTooSmallInvalid order size: Order amount, {order.amount}, or price, {order.price}, is too small. abs(amount) * price must be >= min_size; min_size for product {product_id}: {min_size}.
2095InvalidOrderVersionInvalid Order Version: the order version in the appendix, {version}, does not match the expected version: {expected_version}
2096UnlockedNlpInsufficientDo not have enough unlocked NLP.
2097InvalidTriggerOrderInvalid trigger order appendix.
2098InvalidTwapInvalid TWAP order.
2099InvalidTwapOrderTypeTWAP order must be of type 'Immediate or Cancel'. Please ensure your TWAP order uses the correct order type.
2100InvalidTwapTimesInvalid TWAP times: {times}. TWAP times must be between 1 and 500.
2101InvalidTwapAmountDistributionInvalid TWAP amount distribution: amount {amount} is not evenly divisible by times {times}. For non-random TWAP orders, the total amount must be evenly divisible by the number of executions.
2102InvalidTwapExpirationInvalid TWAP expiration: expiration time {expiration} exceeds maximum allowed duration of 25 hours from current time {current_time}. Please adjust the expiration time.
2103InvalidTwapIntervalInvalid TWAP interval: interval {interval} seconds exceeds maximum allowed interval of 3600 seconds (1 hour).
2104InvalidTwapTotalDurationInvalid TWAP total duration: total duration {duration} seconds exceeds maximum allowed duration of 86400 seconds (24 hours).
2105InvalidTwapExpirationTimingInvalid TWAP expiration timing: expiration {expiration} is before the minimum required time {min_time} for the given interval and times.
2106InvalidTwapRandomConfigurationInvalid TWAP random configuration: amounts array presence {amounts_present} does not match is_twap_random flag {is_random}.
2107InvalidTwapAmountInvalid TWAP amount: amount {amount} is zero or has different sign than order amount {order_amount}.
2108InvalidTwapAmountsSumInvalid TWAP amounts sum: sum of amounts {sum} does not match order amount {order_amount}.
2109InvalidTwapTriggerAmountConfigurationInvalid TWAP trigger amount configuration: trigger_amount presence {trigger_amount_present} does not match is_twap_random flag {is_random}.
2110InvalidTwapIsolatedTWAP orders cannot be isolated. Please remove the isolated flag from your TWAP order.
2111MaxOrderLimitExceededCannot place more than 50 orders.
2112NlpPoolAccountsCannotPlaceIsolatedOrderNLP pool accounts cannot place isolated order.
2113NlpPoolAccountsCannotPlaceTriggerOrderNLP pool accounts cannot place trigger order.
2114BatchSenderMismatchAll orders in a batch must have the same sender. Please ensure all orders are from the same account.
2115LiquidationFrontrunByNlpLiquidation succeeded but was executed by the NLP account instead of the requested liquidator.
### Indexer API
Indexer Error Response ```json { "error": "{error_msg}, "error_code": {error_code} } ```
Error CodeError ValueDescription
3000DigestsNotAllowedUnable to accept 'digests' in conjunction with 'subaccount' or 'product_ids'. Please make sure your request does not contain these fields simultaneously.
3001DigestsExceedLimitThe number of specified 'digests' exceeds the specified limit. Please reduce the 'digests' to meet the defined limit.
3002MissingSubaccountA 'subaccount' is required but not specified. Please ensure you include a 'subaccount' in your request.
3003InvalidIntervalInvalid interval: Please try again with a different 'max_timestamp', 'granularity', or 'count'.
3004InvalidWithdrawalIdxInvalid idx: withdrawal tx not found at idx {{idx}}. Check the input idx and try again later.
3005NotEnoughFastWithdrawalSignaturesNot enough signatures for tx at idx {{idx}}, try again later.
### Others
Error CodeError ValueDescription
4000PerpTickFormattingThe length of the 'avg_price_diffs' array does not match the length of 'product_ids'. Ensure that the arrays are correctly formed and try again.
4001NotImplementedThe feature you are trying to use is not yet implemented. Please check back later.
4002TemporarilyDisabledMintLpMintLp operation is currently disabled. Please try again later.
4003EvmRevertA critical error occurred while attempting match. Reverted with: {revert message}
4004WithdrawRiskProtocol risk: {limit} withdrawal limit over 24 hours exceeded; Try again later
5000InternalErrorInternal error: {message}