Solana error codes › Heaven DEX
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.
| Hex | Code | Error |
|---|---|---|
| 0x1770 | 6000 | UnsupportedTokenMint Unsupported token mint |
| 0x1771 | 6001 | InvalidTokenVaultBalance Invalid token vault balance |
| 0x1772 | 6002 | InvalidUserToken Invalid user token |
| 0x1773 | 6003 | InvalidTaxationMode Invalid taxation mode |
| 0x1774 | 6004 | InvalidOwner Invalid owner The name points to a permission check: the wrong signer or owner account was passed. |
| 0x1775 | 6005 | InvalidLockLiquidityProviderTokenPercentage Invalid lock liquidity provider token percentage |
| 0x1776 | 6006 | CannotCreatePoolWithDisabledProtocolConfigVersion Cannot create pool with the a disabled protocol config version The name points to a feature or pool state that currently blocks this action. |
| 0x1777 | 6007 | InvalidTokenInputAmount Invalid token input amount |
| 0x1778 | 6008 | InvalidSwapTax Invalid swap tax |
| 0x1779 | 6009 | InvalidFeeMode Invalid fee mode |
| 0x177a | 6010 | InvalidLiquidityProviderTokenLockVault Invalid liquidity provider token lock vault |
| 0x177b | 6011 | InvalidUserLiquidityProviderTokenVault Invalid liquidity provider token vault |
| 0x177c | 6012 | InsufficientBalance Insufficient balance The name points to a balance check: an account holds less than the instruction needs. |
| 0x177d | 6013 | ExceededSlippage Exceeded slippage The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction. |
| 0x177e | 6014 | InvalidAddLiquidityInput Invalid add liquidity input |
| 0x177f | 6015 | InvalidRemoveLiquidityInput Invalid remove liquidity input |
| 0x1780 | 6016 | AddLiquidityDisabled Add liquidity is disabled The name points to a feature or pool state that currently blocks this action. |
| 0x1781 | 6017 | RemoveLiquidityDisabled Remove liquidity is disabled The name points to a feature or pool state that currently blocks this action. |
| 0x1782 | 6018 | SwapDisabled Swap is disabled The name points to a feature or pool state that currently blocks this action. |
| 0x1783 | 6019 | LiquidityPoolIsNotOpenYet Liquidity pool is not open yet |
| 0x1784 | 6020 | InvalidSwapInInputs Invalid swap in inputs |
| 0x1785 | 6021 | InvalidProtocolSwapFeeWallet Invalid protocol swap fee wallet |
| 0x1786 | 6022 | InvalidSwapOutInputs Invalid swap out inputs |
| 0x1787 | 6023 | InvalidPostFeeAmount Invalid post fee amount |
| 0x1788 | 6024 | ExceededQuoteTokenSlippage Exceeded quote token slippage The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction. |
| 0x1789 | 6025 | ExceededBaseTokenSlippage Exceeded base token slippage The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction. |
| 0x178a | 6026 | LpTokensLocked Lp tokens locked |
| 0x178b | 6027 | InvalidProtocolBaseTokenSwapFeeVault Invalid protocol base token swap fee vault |
| 0x178c | 6028 | InvalidProtocolQuoteTokenSwapFeeVault Invalid protocol quote token swap fee vault |
| 0x178d | 6029 | InvalidUserPoolStatsAccount Invalid user pool stats account |
| 0x178e | 6030 | InvalidUserGlobalStatsAccount Invalid user global stats account |
| 0x178f | 6031 | CannotUpdateLpLock Cannot update lp lock |
| 0x1790 | 6032 | ZeroAmount Zero amount |
| 0x1791 | 6033 | CannotUpdateLpOpenTime Cannot update lp open time |
| 0x1792 | 6034 | CannotSetLockBurnLpTokens Cannot set lock burn lp tokens |
| 0x1793 | 6035 | InvalidTax Invalid tax |
| 0x1794 | 6036 | InvalidChainlinkFeedAccount Invalid chainlink feed account |
| 0x1795 | 6037 | InvalidChainlinkProgram Invalid chainlink program |
| 0x1796 | 6038 | InvalidConfigVersion Invalid config version |
| 0x1797 | 6039 | CannotUpdateLockedTaxation Cannot update locked taxation |
| 0x1798 | 6040 | CannotClaimSwapFee Cannot claim swap fee |
| 0x1799 | 6041 | NonCreatorCannotAddLp This pool does not allow non-creator to add lp |
| 0x179a | 6042 | SimpleAmmBaseTokenCannotHaveFreezeAuthority Simple amm base token mint cannot have freeze authority |
| 0x179b | 6043 | SimpleAmmBaseTokenCannotHaveMintAuthority Simple amm base token mint cannot have mint authority |
| 0x179c | 6044 | SimpleAmmQuoteTokenMustBeWSOL Simple amm quote token mint must be WSOL |
| 0x179d | 6045 | SimpleAmmBaseTokenSupplyMustMatchInputAmount Simple amm base token supply must match input amount |
| 0x179e | 6046 | SimpleAmmBaseTokenMustBeSplToken Simple amm base token mint must be SPL token |
| 0x179f | 6047 | InvalidProgramAuthorityLookupTableAddress Invalid program authority lookup table address |
| 0x17a0 | 6048 | CannotCreatePoolWithUnsupportedPoolType |
| 0x17a1 | 6049 | InvalidLendingMarket |
| 0x17a2 | 6050 | KaminoPriceListRefreshIxNotFound |
| 0x17a3 | 6051 | KaminoError |
| 0x17a4 | 6052 | ReserveRebalancing Reserve rebalancing, please try again. |
| 0x17a5 | 6053 | OnlySingleSwapAllowed Only single swap allowed |
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.