Tx Doctor / Solana error library / The bonding curve has not completed
Solana error: The bonding curve has not completed (Pump.fun 6006)
A migration or post-graduation instruction ran against a curve that has not finished filling yet.
Why it happens
- Migration is only valid at or after the completion threshold. Calling it early is rejected.
- Bots that pre-fire migrate transactions hoping to be first in the migration block hit this.
- It also fires when someone confuses 'creator can migrate early' rules with the public path.
How to fix it
- Wait until the curve actually completes; the migrate instruction has nothing to do before that.
- Do not pre-sign migrate transactions to fire early — they simply fail and cost the fee.
- Trade on the curve normally; migration happens on its own when the threshold is crossed.
What it looks like in the logs
Program 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P failed: custom program error: 0x1776 RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0x1776 Wallet UI: "Transaction failed" — custom program error 0x1776 (6006)
One failure, three places it shows up: the raw transaction log, the RPC simulation error, and the wallet's short message. Match on the code, never on the wording.
The same number means something else on another program
Anchor assigns custom error codes by enum order starting at 6000, so this number is local to this program. The rows below show what the very same number means on the other programs.
| Program | 0x1776 = 6006 |
|---|---|
| Jupiter | Invalid input or output index |
| Raydium CPMM | Given pool token amount results in zero trading tokens |
| Meteora AMM | Zero trading tokens |
| Raydium LaunchLab | Pool already migrated |
What this means for your funds
Solana transactions are atomic: if any instruction fails, every state change in that transaction is reverted, so token balances end exactly where they started. The network fee is still charged, because validators did the work of executing and rejecting it. A failed transaction never moves your tokens to someone else.
Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.
Diagnose my transaction