Decoder
Paste the failure. Get the exact error.
A log line, an Anchor error message, a getTransaction response, or just 0x1773 — the decoder finds the failing program and the code inside it, then answers with the catalogue entry for that program. Runs entirely in your browser; nothing is uploaded.
What the decoder accepts
Five shapes cover almost every failure message Solana tooling produces. If your text contains an error code in any of them, it will be found.
| Input | Example | What you get back |
|---|---|---|
| A full log line | Program CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C failed: custom program error: 0x1773 |
the program is named, so the answer is exact |
| An Anchor error message | Error Code: InvalidTickIndex. Error Number: 6003. Error Message: … |
the human-readable name is kept and linked to the code |
| A bare hex code | 0x1773 |
every program that claims it is listed, because the code alone cannot identify one |
| A bare decimal code | 6003 |
same as above — decimal and hex are the same number |
| A getTransaction JSON | {"meta":{"err":{"InstructionError":[1,{"Custom":6003}]},…}} |
read locally; the transaction body is never uploaded |
The log line is the important one. A wallet usually shows only “transaction failed”; the real reason lives in the raw logs, which you can copy from any block explorer's “Program logs” panel or from getTransaction with maxSupportedTransactionVersion set.
Why a code on its own is never the answer
Custom codes are local, not global. Anchor numbers its #[msg] enum in source order starting at 6000, so every Anchor program ships its own 6001, 6002, 6003… The result is that 0x1773 (decimal 6003) is simultaneously “Missing platform fee account” in Jupiter, “InvalidInput” in Raydium CPMM, “Too little SOL received to sell” in Pump.fun, and 5 more meanings elsewhere.
This is why the decoder reads the Program <pubkey> failed line first and the number second. When the pubkey is missing it refuses to guess and shows you every candidate instead — with links into the full comparison for that number.
The cross-program index lists every code that is claimed by more than one program, so you can see where a collision exists before you go looking.
The codes people paste most
Each of these is claimed by at least four programs, which is exactly why searching the number alone gives contradictory answers.
| Code | Claimed by | Some of the meanings |
|---|---|---|
0x17736003 |
8 programs | Missing platform fee account · InvalidInput · Too little SOL received to sell |
0x17746004 |
7 programs | Invalid slippage value · Address of the provided LP token mint is incorrect · The mint does not match the bonding curve |
0x17756005 |
5 programs | Not enough percent to 100 · Exceeds desired slippage limit · Bonding curve complete |
0x17766006 |
5 programs | Invalid input or output index · Given pool token amount results in zero trading tokens · The bonding curve has not completed |
0x17776007 |
5 programs | Invalid token output index · Not support token_2022 mint extension · The program is not initialized |
0x177c6012 |
5 programs | Token ledger account mismatch · Insufficient vault · Liquidity amount must be greater than zero |
0x177f6015 |
5 programs | Token program not provided · Lamports calculate error · Both token amounts are zero |
0x17716001 |
4 programs | Slippage tolerance exceeded · Input account owner is not the program address · The program is already initialized |
0x17786008 |
4 programs | Not enough account keys · Invalid vault · Withdraw attempted too frequently |
0x17796009 |
4 programs | Non-zero minimum out amount not supported · Init lp amount is too less · Bin array not found |
How it works
- It looks for the failing program. The deepest
Program <pubkey> failed: custom program error: 0x…line in the text decides which program's meaning applies. Inner-to-outer log order means the first such line is the real culprit. - It converts hex and decimal both ways.
0x1773and6003are the same code; the decoder prints both so you can match whichever your tooling shows. - It looks the pair up in the catalogue. 202 codes across 12 programs, compiled from each program's source or IDL rather than guessed from other people's forum posts.
- It shows the collision when the program is missing. No pubkey, no single answer — so you get every meaning side by side plus the instruction hints that separate them.
Nothing you paste leaves the page. The catalogue is a static bundle that ships with the site, so the decoder keeps working with no network connection — useful when you are copying logs out of a machine that cannot reach the internet.
Questions
Why does the same code mean different things in different programs?
Custom error codes are local numbers. Anchor assigns them by enum source order starting at 6000, so every Anchor program has its own 6003 — Jupiter's 6003, Raydium's 6003 and Orca's 6003 are three unrelated errors that happen to share a number. The failing Program <pubkey> line in the log is the only thing that resolves the ambiguity, which is why this tool reads it instead of just the number.
What if the log I have does not include the program ID?
You get every catalogued meaning of that code, ranked by how many programs claim it, plus the instruction-level hints that separate them: token instructions belong to a token program, swaps to an AMM, tick arrays to concentrated liquidity, bonding curves to a launchpad. Pasting one more line from the same failure usually contains the pubkey.
Is the log uploaded anywhere?
No. Parsing and lookup run in your browser against a bundle of 202 codes that ships with the page. There is no request to a server, no RPC call and no analytics on the text you paste — you can disconnect the network after the page loads and it still works.
Does this work for EVM, Bitcoin or TRON transactions?
Not yet, and for a reason: those chains expose structured revert data rather than a single 32-bit custom code, so the same catalogue shape does not apply. The EVM, Bitcoin and TRON libraries are written pages rather than a decoder.