Tx Doctor / Solana error library / The program is not initialized
Solana error: The program is not initialized (Pump.fun 6007)
The account the instruction depends on has not been created yet — usually a missing bonding curve or global config for that mint.
Why it happens
- Trading requires the per-mint curve account. If the mint exists but was never launched through Pump.fun, that account does not exist.
- It also appears when the global config account is wrong, so the program cannot find its own state.
- A token that merely looks like a Pump.fun coin (same ticker, similar name) but launched elsewhere produces this.
How to fix it
- Confirm the mint was actually launched on Pump.fun — check that a bonding curve PDA exists for it.
- If you are integrating, initialize the expected accounts first rather than assuming they exist.
- For a token that launched elsewhere, use the venue it actually belongs to.
What it looks like in the logs
Program 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P failed: custom program error: 0x1777 RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0x1777 Wallet UI: "Transaction failed" — custom program error 0x1777 (6007)
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 | 0x1777 = 6007 |
|---|---|
| Jupiter | Invalid token output index |
| Raydium CPMM | Not support token_2022 mint extension |
| Meteora DLMM | Zero liquidity |
| Raydium LaunchLab | Migration type mismatch |
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