Solana error codes › Raydium AMM V4

Raydium AMM V4 error codes

57 error codes defined by Raydium AMM V4 (program ID 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8). In logs they appear as custom program error: 0x… after Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 failed.

Raydium AMM V4: ExceededSlippage

The swap result is outside the slippage limit set in the transaction.

What to do: Retry with a fresh quote; a higher slippage allows a worse price.

HexCodeError
0x00AlreadyInUse
The name points to account state: an account was expected to exist (or not exist) already.
0x11InvalidProgramAddress
0x22ExpectedMint
0x33ExpectedAccount
0x44InvalidCoinVault
0x55InvalidPCVault
0x66InvalidTokenLP
0x77InvalidDestTokenCoin
0x88InvalidDestTokenPC
0x99InvalidPoolMint
0xa10InvalidOpenOrders
0xb11InvalidSerumMarket
0xc12InvalidSerumProgram
0xd13InvalidTargetOrders
0xe14InvalidWithdrawQueue
0xf15InvalidTempLp
0x1016InvalidCoinMint
0x1117InvalidPCMint
0x1218InvalidOwner
The name points to a permission check: the wrong signer or owner account was passed.
0x1319InvalidSupply
0x1420InvalidDelegate
0x1521InvalidSignAccount
Invalid Sign Account
0x1622InvalidStatus
0x1723InvalidInstruction
Invalid instruction
0x1824WrongAccountsNumber
Wrong accounts number
0x1925WithdrawTransferBusy
Withdraw_transfer is busy
0x1a26WithdrawQueueFull
WithdrawQueue is full
0x1b27WithdrawQueueEmpty
WithdrawQueue is empty
0x1c28InvalidParamsSet
Params Set is invalid
0x1d29InvalidInput
0x1e30ExceededSlippage
instruction exceeds desired slippage limit
The swap result is outside the slippage limit set in the transaction.
0x1f31CalculationExRateFailure
0x2032CheckedSubOverflow
Checked_Sub Overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x2133CheckedAddOverflow
Checked_Add Overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x2234CheckedMulOverflow
Checked_Mul Overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x2335CheckedDivOverflow
Checked_Div Overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x2436CheckedEmptyFunds
Empty Funds
0x2537CalcPnlError
Calc pnl error
0x2638InvalidSplTokenProgram
0x2739TakePnlError
Take Pnl error
0x2840InsufficientFunds
Insufficient funds
The name points to a balance check: an account holds less than the instruction needs.
0x2941ConversionFailure
Conversion to u64 failed with an overflow or underflow
0x2a42InvalidUserToken
user token input does not match amm
0x2b43InvalidSrmMint
0x2c44InvalidSrmToken
0x2d45TooManyOpenOrders
0x2e46OrderAtSlotIsPlaced
0x2f47InvalidSysProgramAddress
0x3048InvalidFee
The provided fee does not match the program owner's constraints
0x3149RepeatCreateAmm
Repeat create amm about market
0x3250NotAllowZeroLP
Not allow Zero LP
0x3351InvalidCloseAuthority
Token account has a close authority
0x3452InvalidFreezeAuthority
Pool token mint has a freeze authority
0x3553InvalidReferPCMint
0x3654InvalidConfigAccount
0x3755RepeatCreateConfigAccount
Repeat create staking config account
0x3856UnknownAmmError
Unknown Amm Error

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.