Error codes / Raydium CP Swap
Raydium CP Swap error codes
Every custom error code published by Raydium CP Swap, with what it means and what to do about it.
CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C
- 6000 · 0x1770NotApproved
Not approved
- 6001 · 0x1771InvalidOwner
Input account owner is not the program address
- 6002 · 0x1772EmptySupply
Input token account empty
- 6003 · 0x1773InvalidInput
The program raised this named error and published no further explanation.
- 6004 · 0x1774IncorrectLpMint
Address of the provided lp token mint is incorrect
- 6005 · 0x1775ExceededSlippage
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.
- 6006 · 0x1776ZeroTradingTokens
Given pool token amount results in zero trading tokens
- 6007 · 0x1777NotSupportMint
Not support token_2022 mint extension
- 6008 · 0x1778InvalidVault
invaild vault
- 6009 · 0x1779InitLpAmountTooLess
Init lp amount is too less(Because 100 amount lp will be locked)
- 6010 · 0x177aTransferFeeCalculateNotMatch
TransferFee calculate not match