Error codes / Raydium AMM V3 (CLMM)
Raydium AMM V3 (CLMM) error codes
Every custom error code published by Raydium AMM V3 (CLMM), with what it means and what to do about it.
CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK
- 6000 · 0x1770LOK
The program raised this named error and published no further explanation.
- 6001 · 0x1771NotApproved
Not approved
- 6002 · 0x1772InvalidUpdateConfigFlag
invalid update amm config flag
- 6003 · 0x1773AccountLack
Account lack
- 6004 · 0x1774ClosePositionErr
Remove liquitity, collect fees owed and reward then you can close position account
- 6005 · 0x1775ZeroMintAmount
Minting amount should be greater than 0
- 6006 · 0x1776InvalidTickIndex
Tick out of range
- 6007 · 0x1777TickInvalidOrder
The lower tick must be below the upper tick
- 6008 · 0x1778TickLowerOverflow
The tick must be greater, or equal to the minimum tick(-443636)
- 6009 · 0x1779TickUpperOverflow
The tick must be lesser than, or equal to the maximum tick(443636)
- 6010 · 0x177aTickAndSpacingNotMatch
tick % tick_spacing must be zero
- 6011 · 0x177bInvalidTickArray
Invalid tick array account
- 6012 · 0x177cInvalidTickArrayBoundary
Invalid tick array boundary
- 6013 · 0x177dSqrtPriceLimitOverflow
Square root price limit overflow
- 6014 · 0x177eSqrtPriceX64
sqrt_price_x64 out of range
- 6015 · 0x177fLiquiditySubValueErr
Liquidity sub delta L must be smaller than before
- 6016 · 0x1780LiquidityAddValueErr
Liquidity add delta L must be greater, or equal to before
- 6017 · 0x1781InvalidLiquidity
Invalid liquidity when update position
- 6018 · 0x1782ForbidBothZeroForSupplyLiquidity
Both token amount must not be zero while supply liquidity
- 6019 · 0x1783LiquidityInsufficient
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6020 · 0x1784TransactionTooOld
Transaction too old
- 6021 · 0x1785PriceSlippageCheck
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6022 · 0x1786TooLittleOutputReceived
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6023 · 0x1787TooMuchInputPaid
Too much input paid
- 6024 · 0x1788ZeroAmountSpecified
Swap special amount can not be zero
- 6025 · 0x1789InvalidInputPoolVault
Input pool vault is invalid
- 6026 · 0x178aTooSmallInputOrOutputAmount
Swap input or output amount is too small
- 6027 · 0x178bNotEnoughTickArrayAccount
Not enought tick array account
- 6028 · 0x178cInvalidFirstTickArrayAccount
Invalid first tick array account
- 6029 · 0x178dInvalidRewardIndex
Invalid reward index
- 6030 · 0x178eFullRewardInfo
The init reward token reach to the max
- 6031 · 0x178fRewardTokenAlreadyInUse
The init reward token already in use
- 6032 · 0x1790ExceptRewardMint
The reward tokens must contain one of pool vault mint except the last reward
- 6033 · 0x1791InvalidRewardInitParam
Invalid reward init param
- 6034 · 0x1792InvalidRewardDesiredAmount
Invalid collect reward desired amount
- 6035 · 0x1793InvalidRewardInputAccountNumber
Invalid collect reward input account number
- 6036 · 0x1794InvalidRewardPeriod
Invalid reward period
- 6037 · 0x1795NotApproveUpdateRewardEmissiones
Modification of emissiones is allowed within 72 hours from the end of the previous cycle
- 6038 · 0x1796UnInitializedRewardInfo
uninitialized reward info
- 6039 · 0x1797NotSupportMint
Not support token_2022 mint extension
- 6040 · 0x1798MissingTickArrayBitmapExtensionAccount
Missing tickarray bitmap extension account
- 6041 · 0x1799InsufficientLiquidityForDirection
Insufficient liquidity for this direction
- 6042 · 0x179aMaxTokenOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6043 · 0x179bCalculateOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6044 · 0x179cTransferFeeCalculateNotMatch
TransferFee calculate not match