Solana error codes › PumpSwap AMM

PumpSwap AMM error codes

41 error codes defined by PumpSwap AMM (program ID pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA). In logs they appear as custom program error: 0x… after Program pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA failed.

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

PumpSwap AMM: 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
0x17706000FeeBasisPointsExceedsMaximum
0x17716001ZeroBaseAmount
0x17726002ZeroQuoteAmount
0x17736003TooLittlePoolTokenLiquidity
0x17746004ExceededSlippage
The swap result is outside the slippage limit set in the transaction.
0x17756005InvalidAdmin
The name points to a permission check: the wrong signer or owner account was passed.
0x17766006UnsupportedBaseMint
0x17776007UnsupportedQuoteMint
0x17786008InvalidBaseMint
0x17796009InvalidQuoteMint
0x177a6010InvalidLpMint
0x177b6011AllProtocolFeeRecipientsShouldBeNonZero
0x177c6012UnsortedNotUniqueProtocolFeeRecipients
0x177d6013InvalidProtocolFeeRecipient
0x177e6014InvalidPoolBaseTokenAccount
0x177f6015InvalidPoolQuoteTokenAccount
0x17806016BuyMoreBaseAmountThanPoolReserves
0x17816017DisabledCreatePool
The name points to a feature or pool state that currently blocks this action.
0x17826018DisabledDeposit
The name points to a feature or pool state that currently blocks this action.
0x17836019DisabledWithdraw
The name points to a feature or pool state that currently blocks this action.
0x17846020DisabledBuy
The name points to a feature or pool state that currently blocks this action.
0x17856021DisabledSell
The name points to a feature or pool state that currently blocks this action.
0x17866022SameMint
0x17876023Overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x17886024Truncation
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x17896025DivisionByZero
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
0x178a6026NewSizeLessThanCurrentSize
0x178b6027AccountTypeNotSupported
0x178c6028OnlyCanonicalPumpPoolsCanHaveCoinCreator
0x178d6029InvalidAdminSetCoinCreatorAuthority
The name points to a permission check: the wrong signer or owner account was passed.
0x178e6030StartTimeInThePast
0x178f6031EndTimeInThePast
0x17906032EndTimeBeforeStartTime
0x17916033TimeRangeTooLarge
0x17926034EndTimeBeforeCurrentDay
0x17936035SupplyUpdateForFinishedRange
0x17946036DayIndexAfterEndIndex
0x17956037DayInActiveRange
0x17966038InvalidIncentiveMint
0x17976039BuyNotEnoughQuoteTokensToCoverFees
buy: Not enough quote tokens to cover for fees.
The name points to a balance check: an account holds less than the instruction needs.
0x17986040BuySlippageBelowMinBaseAmountOut
buy: slippage - would buy less tokens than expected min_base_amount_out
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.

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.