Error codes / Meteora AMM
Meteora AMM error codes
Every custom error code published by Meteora AMM, with what it means and what to do about it.
Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB
- 6000 · 0x1770MathOverflow
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.
- 6001 · 0x1771InvalidFee
Invalid fee setup
- 6002 · 0x1772InvalidInvariant
Invalid invariant d
- 6003 · 0x1773FeeCalculationFailure
Fee calculation failure
- 6004 · 0x1774ExceededSlippage
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.
- 6005 · 0x1775InvalidCalculation
Invalid curve calculation
- 6006 · 0x1776ZeroTradingTokens
Given pool token amount results in zero trading tokens
- 6007 · 0x1777ConversionError
Math conversion overflow
- 6008 · 0x1778FaultyLpMint
LP mint authority must be 'A' vault lp, without freeze authority, and 0 supply
- 6009 · 0x1779MismatchedTokenMint
Token mint mismatched
- 6010 · 0x177aMismatchedLpMint
LP mint mismatched
- 6011 · 0x177bMismatchedOwner
Invalid lp token owner
- 6012 · 0x177cInvalidVaultAccount
Invalid vault account
- 6013 · 0x177dInvalidVaultLpAccount
Invalid vault lp account
- 6014 · 0x177eInvalidPoolLpMintAccount
Invalid pool lp mint account
- 6015 · 0x177fPoolDisabled
Pool disabled
- 6016 · 0x1780InvalidAdminAccount
Invalid admin account
- 6017 · 0x1781InvalidProtocolFeeAccount
Invalid protocol fee account
- 6018 · 0x1782SameAdminAccount
Same admin account
- 6019 · 0x1783IdenticalSourceDestination
Identical user source and destination token account
- 6020 · 0x1784ApyCalculationError
Apy calculation error
- 6021 · 0x1785InsufficientSnapshot
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6022 · 0x1786NonUpdatableCurve
Current curve is non-updatable
- 6023 · 0x1787MisMatchedCurve
New curve is mismatched with old curve
- 6024 · 0x1788InvalidAmplification
Amplification is invalid
- 6025 · 0x1789UnsupportedOperation
Operation is not supported
- 6026 · 0x178aExceedMaxAChanges
Exceed max amplification changes
- 6027 · 0x178bInvalidRemainingAccountsLen
Invalid remaining accounts length
- 6028 · 0x178cInvalidRemainingAccounts
Invalid remaining account
- 6029 · 0x178dMismatchedDepegMint
Token mint B doesn't matches depeg type token mint
- 6030 · 0x178eInvalidApyAccount
Invalid APY account
- 6031 · 0x178fInvalidTokenMultiplier
Invalid token multiplier
- 6032 · 0x1790InvalidDepegInformation
Invalid depeg information
- 6033 · 0x1791UpdateTimeConstraint
Update time constraint violated
- 6034 · 0x1792ExceedMaxFeeBps
Exceeded max fee bps
- 6035 · 0x1793InvalidAdmin
Invalid admin
- 6036 · 0x1794PoolIsNotPermissioned
Pool is not permissioned
- 6037 · 0x1795InvalidDepositAmount
Invalid deposit amount
- 6038 · 0x1796InvalidFeeOwner
Invalid fee owner
- 6039 · 0x1797NonDepletedPool
Pool is not depleted
- 6040 · 0x1798AmountNotPeg
Token amount is not 1:1
- 6041 · 0x1799AmountIsZero
Amount is zero
- 6042 · 0x179aTypeCastFailed
Type cast error
- 6043 · 0x179bAmountIsNotEnough
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6044 · 0x179cInvalidActivationDuration
Invalid activation duration
- 6045 · 0x179dPoolIsNotLaunchPool
Pool is not launch pool
- 6046 · 0x179eUnableToModifyActivationPoint
Unable to modify activation point
- 6047 · 0x179fInvalidAuthorityToCreateThePool
Invalid authority to create the pool
- 6048 · 0x17a0InvalidActivationType
Invalid activation type
- 6049 · 0x17a1InvalidActivationPoint
Invalid activation point
- 6050 · 0x17a2PreActivationSwapStarted
Pre activation swap window started
- 6051 · 0x17a3InvalidPoolType
Invalid pool type
- 6052 · 0x17a4InvalidQuoteMint
Quote token must be SOL,USDC
- 6053 · 0x17a5InvalidFeeCurve
Invalid fee curve