Solana error codes › Meteora CP AMM (DAMM V2)

Meteora CP AMM (DAMM V2) error codes

53 error codes defined by Meteora CP AMM (DAMM V2) (program ID cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG). In logs they appear as custom program error: 0x… after Program cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG failed.

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

HexCodeError
0x17706000MathOverflow
Math operation overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x17716001InvalidFee
Invalid fee setup
0x17726002ExceededSlippage
Exceeded slippage tolerance
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x17736003PoolDisabled
Pool disabled
The name points to a feature or pool state that currently blocks this action.
0x17746004ExceedMaxFeeBps
Exceeded max fee bps
0x17756005InvalidAdmin
Invalid admin
The name points to a permission check: the wrong signer or owner account was passed.
0x17766006AmountIsZero
Amount is zero
0x17776007TypeCastFailed
Type cast error
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x17786008UnableToModifyActivationPoint
Unable to modify activation point
0x17796009InvalidAuthorityToCreateThePool
Invalid authority to create the pool
The name points to a permission check: the wrong signer or owner account was passed.
0x177a6010InvalidActivationType
Invalid activation type
0x177b6011InvalidActivationPoint
Invalid activation point
0x177c6012InvalidQuoteMint
Quote token must be SOL,USDC
0x177d6013InvalidFeeCurve
Invalid fee curve
0x177e6014InvalidPriceRange
Invalid Price Range
0x177f6015PriceRangeViolation
Trade is over price range
0x17806016InvalidParameters
Invalid parameters
0x17816017InvalidCollectFeeMode
Invalid collect fee mode
0x17826018InvalidInput
Invalid input
0x17836019CannotCreateTokenBadgeOnSupportedMint
Cannot create token badge on supported mint
0x17846020InvalidTokenBadge
Invalid token badge
0x17856021InvalidMinimumLiquidity
Invalid minimum liquidity
0x17866022InvalidVestingInfo
Invalid vesting information
0x17876023InsufficientLiquidity
Insufficient liquidity
0x17886024InvalidVestingAccount
Invalid vesting account
0x17896025InvalidPoolStatus
Invalid pool status
0x178a6026UnsupportNativeMintToken2022
Unsupported native mint token2022
0x178b6027InvalidRewardIndex
Invalid reward index
0x178c6028InvalidRewardDuration
Invalid reward duration
0x178d6029RewardInitialized
Reward already initialized
0x178e6030RewardUninitialized
Reward not initialized
The name points to account state: an account was expected to exist (or not exist) already.
0x178f6031InvalidRewardVault
Invalid reward vault
0x17906032MustWithdrawnIneligibleReward
Must withdraw ineligible reward
0x17916033IdenticalRewardDuration
Reward duration is the same
0x17926034RewardCampaignInProgress
Reward campaign in progress
0x17936035IdenticalFunder
Identical funder
0x17946036InvalidFunder
Invalid funder
0x17956037RewardNotEnded
Reward not ended
The name points to a feature or pool state that currently blocks this action.
0x17966038FeeInverseIsIncorrect
Fee inverse is incorrect
0x17976039PositionIsNotEmpty
Position is not empty
0x17986040InvalidPoolCreatorAuthority
Invalid pool creator authority
0x17996041InvalidConfigType
Invalid config type
0x179a6042InvalidPoolCreator
Invalid pool creator
0x179b6043RewardVaultFrozenSkipRequired
Reward vault is frozen, must skip reward to proceed
0x179c6044InvalidSplitPositionParameters
Invalid parameters for split position
0x179d6045UnsupportPositionHasVestingLock
Unsupported split position has vesting lock
0x179e6046SamePosition
Same position
0x179f6047InvalidBaseFeeMode
Invalid base fee mode
0x17a06048InvalidFeeRateLimiter
Invalid fee rate limiter
0x17a16049FailToValidateSingleSwapInstruction
Fail to validate single swap instruction in rate limiter
0x17a26050InvalidFeeScheduler
Invalid fee scheduler
0x17a36051UndeterminedError
Undetermined error
0x17a46052InvalidPoolVersion
Invalid pool version

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.