Error codes / Meteora Dynamic Bonding Curve
NotEnoughLiquidity
Meteora Dynamic Bonding Curve · Custom(6012) · 0x177c
custom program error: 0x177c
What it means
The pool does not have enough liquidity left to fill a trade of this size. On a launch pool (a bonding curve such as Meteora DBC) it means the buy is larger than what is left before the pool graduates, and the program refuses the whole swap rather than fill part of it.
The program's own message: “Not enough liquidity”
What to do
Trade a smaller amount. On Meteora DBC, buy at most what is left before graduation, or use swap2 in partial-fill mode, which buys what is left and returns the rest. Paste the failed transaction into TxWhy to see the exact room left.
Have the transaction that failed with this?
Paste its signature. TxWhy shows the exact instruction and inner call that raised the error, and rebuilds the transaction when the cause is one it can fix (compute limit, expired blockhash, priority fee, a stale swap quote or a moved limit).
Code 6012 means something else in other programs
Custom codes are private to each program. Check which program actually raised it: it is the innermost failed call, not necessarily the program you called.
- WrongFarmBonkSwap
- InvalidProtocolFeeRecipientBoop
- InvalidRepegRedundantDrift V2
- InsufficientBalanceHeaven DEX
- LedgerTokenAccountDoesNotMatchJupiter Aggregator v6
- InsufficientBalanceInProgramJupiter DCA
- ProgramMismatchJupiter Limit Order
- AccountOwnerValidationFailedLighthouse
- NoPayerPresentMagic Eden V2
- NoPayerPresentMetaplex Auction House
- MetadataNameTooLongMetaplex Bubblegum
- HiddenSettingsConfigsDoNotHaveConfigLinesMetaplex Candy Machine