Solana error codes › Raydium AMM V3 (CLMM)
45 error codes defined by Raydium AMM V3 (CLMM) (program ID CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK). In logs they appear as custom program error: 0x… after Program CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK failed.
Custom errors start at 6000 (0x1770). If a code is below 6000 and not listed here, see the Anchor framework errors.
The swap would return less than the minimum output set in the transaction.
What to do: Retry with a fresh quote; a higher slippage allows a worse price.
| Hex | Code | Error |
|---|---|---|
| 0x1770 | 6000 | LOK |
| 0x1771 | 6001 | NotApproved Not approved |
| 0x1772 | 6002 | InvalidUpdateConfigFlag invalid update amm config flag |
| 0x1773 | 6003 | AccountLack Account lack |
| 0x1774 | 6004 | ClosePositionErr Remove liquitity, collect fees owed and reward then you can close position account |
| 0x1775 | 6005 | ZeroMintAmount Minting amount should be greater than 0 |
| 0x1776 | 6006 | InvalidTickIndex Tick out of range |
| 0x1777 | 6007 | TickInvalidOrder The lower tick must be below the upper tick |
| 0x1778 | 6008 | TickLowerOverflow The tick must be greater, or equal to the minimum tick(-443636) The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1779 | 6009 | TickUpperOverflow The tick must be lesser than, or equal to the maximum tick(443636) The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x177a | 6010 | TickAndSpacingNotMatch tick % tick_spacing must be zero |
| 0x177b | 6011 | InvalidTickArray Invalid tick array account |
| 0x177c | 6012 | InvalidTickArrayBoundary Invalid tick array boundary |
| 0x177d | 6013 | SqrtPriceLimitOverflow Square root price limit overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x177e | 6014 | SqrtPriceX64 sqrt_price_x64 out of range |
| 0x177f | 6015 | LiquiditySubValueErr Liquidity sub delta L must be smaller than before |
| 0x1780 | 6016 | LiquidityAddValueErr Liquidity add delta L must be greater, or equal to before |
| 0x1781 | 6017 | InvalidLiquidity Invalid liquidity when update position |
| 0x1782 | 6018 | ForbidBothZeroForSupplyLiquidity Both token amount must not be zero while supply liquidity |
| 0x1783 | 6019 | LiquidityInsufficient Liquidity insufficient |
| 0x1784 | 6020 | TransactionTooOld Transaction too old |
| 0x1785 | 6021 | PriceSlippageCheck Price slippage check The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction. |
| 0x1786 | 6022 | TooLittleOutputReceived Too little output received The swap would return less than the minimum output set in the transaction. |
| 0x1787 | 6023 | TooMuchInputPaid Too much input paid |
| 0x1788 | 6024 | ZeroAmountSpecified Swap special amount can not be zero |
| 0x1789 | 6025 | InvalidInputPoolVault Input pool vault is invalid |
| 0x178a | 6026 | TooSmallInputOrOutputAmount Swap input or output amount is too small |
| 0x178b | 6027 | NotEnoughTickArrayAccount Not enought tick array account The name points to a balance check: an account holds less than the instruction needs. |
| 0x178c | 6028 | InvalidFirstTickArrayAccount Invalid first tick array account |
| 0x178d | 6029 | InvalidRewardIndex Invalid reward index |
| 0x178e | 6030 | FullRewardInfo The init reward token reach to the max |
| 0x178f | 6031 | RewardTokenAlreadyInUse The init reward token already in use The name points to account state: an account was expected to exist (or not exist) already. |
| 0x1790 | 6032 | ExceptRewardMint The reward tokens must contain one of pool vault mint except the last reward |
| 0x1791 | 6033 | InvalidRewardInitParam Invalid reward init param |
| 0x1792 | 6034 | InvalidRewardDesiredAmount Invalid collect reward desired amount |
| 0x1793 | 6035 | InvalidRewardInputAccountNumber Invalid collect reward input account number |
| 0x1794 | 6036 | InvalidRewardPeriod Invalid reward period |
| 0x1795 | 6037 | NotApproveUpdateRewardEmissiones Modification of emissiones is allowed within 72 hours from the end of the previous cycle |
| 0x1796 | 6038 | UnInitializedRewardInfo uninitialized reward info The name points to account state: an account was expected to exist (or not exist) already. |
| 0x1797 | 6039 | NotSupportMint Not support token_2022 mint extension |
| 0x1798 | 6040 | MissingTickArrayBitmapExtensionAccount Missing tickarray bitmap extension account |
| 0x1799 | 6041 | InsufficientLiquidityForDirection Insufficient liquidity for this direction |
| 0x179a | 6042 | MaxTokenOverflow Max token overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x179b | 6043 | CalculateOverflow Calculate overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x179c | 6044 | TransferFeeCalculateNotMatch TransferFee calculate not match |
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.