Solana error codes › Heaven DEX

Heaven DEX error codes

54 error codes defined by Heaven DEX (program ID HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o). In logs they appear as custom program error: 0x… after Program HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o failed.

Custom errors start at 6000 (0x1770). If a code is below 6000 and not listed here, see the Anchor framework errors.

HexCodeError
0x17706000UnsupportedTokenMint
Unsupported token mint
0x17716001InvalidTokenVaultBalance
Invalid token vault balance
0x17726002InvalidUserToken
Invalid user token
0x17736003InvalidTaxationMode
Invalid taxation mode
0x17746004InvalidOwner
Invalid owner
The name points to a permission check: the wrong signer or owner account was passed.
0x17756005InvalidLockLiquidityProviderTokenPercentage
Invalid lock liquidity provider token percentage
0x17766006CannotCreatePoolWithDisabledProtocolConfigVersion
Cannot create pool with the a disabled protocol config version
The name points to a feature or pool state that currently blocks this action.
0x17776007InvalidTokenInputAmount
Invalid token input amount
0x17786008InvalidSwapTax
Invalid swap tax
0x17796009InvalidFeeMode
Invalid fee mode
0x177a6010InvalidLiquidityProviderTokenLockVault
Invalid liquidity provider token lock vault
0x177b6011InvalidUserLiquidityProviderTokenVault
Invalid liquidity provider token vault
0x177c6012InsufficientBalance
Insufficient balance
The name points to a balance check: an account holds less than the instruction needs.
0x177d6013ExceededSlippage
Exceeded slippage
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x177e6014InvalidAddLiquidityInput
Invalid add liquidity input
0x177f6015InvalidRemoveLiquidityInput
Invalid remove liquidity input
0x17806016AddLiquidityDisabled
Add liquidity is disabled
The name points to a feature or pool state that currently blocks this action.
0x17816017RemoveLiquidityDisabled
Remove liquidity is disabled
The name points to a feature or pool state that currently blocks this action.
0x17826018SwapDisabled
Swap is disabled
The name points to a feature or pool state that currently blocks this action.
0x17836019LiquidityPoolIsNotOpenYet
Liquidity pool is not open yet
0x17846020InvalidSwapInInputs
Invalid swap in inputs
0x17856021InvalidProtocolSwapFeeWallet
Invalid protocol swap fee wallet
0x17866022InvalidSwapOutInputs
Invalid swap out inputs
0x17876023InvalidPostFeeAmount
Invalid post fee amount
0x17886024ExceededQuoteTokenSlippage
Exceeded quote token slippage
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x17896025ExceededBaseTokenSlippage
Exceeded base token slippage
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x178a6026LpTokensLocked
Lp tokens locked
0x178b6027InvalidProtocolBaseTokenSwapFeeVault
Invalid protocol base token swap fee vault
0x178c6028InvalidProtocolQuoteTokenSwapFeeVault
Invalid protocol quote token swap fee vault
0x178d6029InvalidUserPoolStatsAccount
Invalid user pool stats account
0x178e6030InvalidUserGlobalStatsAccount
Invalid user global stats account
0x178f6031CannotUpdateLpLock
Cannot update lp lock
0x17906032ZeroAmount
Zero amount
0x17916033CannotUpdateLpOpenTime
Cannot update lp open time
0x17926034CannotSetLockBurnLpTokens
Cannot set lock burn lp tokens
0x17936035InvalidTax
Invalid tax
0x17946036InvalidChainlinkFeedAccount
Invalid chainlink feed account
0x17956037InvalidChainlinkProgram
Invalid chainlink program
0x17966038InvalidConfigVersion
Invalid config version
0x17976039CannotUpdateLockedTaxation
Cannot update locked taxation
0x17986040CannotClaimSwapFee
Cannot claim swap fee
0x17996041NonCreatorCannotAddLp
This pool does not allow non-creator to add lp
0x179a6042SimpleAmmBaseTokenCannotHaveFreezeAuthority
Simple amm base token mint cannot have freeze authority
0x179b6043SimpleAmmBaseTokenCannotHaveMintAuthority
Simple amm base token mint cannot have mint authority
0x179c6044SimpleAmmQuoteTokenMustBeWSOL
Simple amm quote token mint must be WSOL
0x179d6045SimpleAmmBaseTokenSupplyMustMatchInputAmount
Simple amm base token supply must match input amount
0x179e6046SimpleAmmBaseTokenMustBeSplToken
Simple amm base token mint must be SPL token
0x179f6047InvalidProgramAuthorityLookupTableAddress
Invalid program authority lookup table address
0x17a06048CannotCreatePoolWithUnsupportedPoolType
0x17a16049InvalidLendingMarket
0x17a26050KaminoPriceListRefreshIxNotFound
0x17a36051KaminoError
0x17a46052ReserveRebalancing
Reserve rebalancing, please try again.
0x17a56053OnlySingleSwapAllowed
Only single swap allowed

Decode an error

Free, no sign-up, nothing to connect. Works offline from a bundled list; we do not look anything up on-chain.

Swapping a token you do not know? A free Rugsight check shows mint and freeze authority, Token-2022 extensions, holder concentration and liquidity before you trade.

Source: solana-idls@1.2.1. Data: program error lists from published IDLs (solana-idls 1.2.1, MIT) and the System, SPL Token, Token-2022 and Associated Token Account source code, snapshot 2026-11-16. Programs can be upgraded and add or change errors; the failing program's current IDL is the final word.