Error codes / 0x5
custom program error: 0x5
Custom(5) · 0x5 · used by 7 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x5 is InvalidPCVault in Raydium AMM V4 but FixedSupply in SPL Token. The meaning that applies is the one from the program that actually failed: the first Program … failed line in the transaction's logs. That is often not the program you called, but one it invoked, or a guard instruction your wallet added.
Don't guess: paste the transaction
TxWhy reads the logs, finds the program and the exact instruction that raised 0x5, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x5 means, by program
- InvalidPCVaultRaydium AMM V4
The program raised this named error and published no further explanation.
- FixedSupplySPL Token
This mint has no mint authority — supply is fixed.
- Address does not match seedsSystem Program
The provided address is not the one derived from the base, seed and program.
- ProvedVouchersMismatchPackVouchersMetaplex NFT Packs
Proved vouchers mismatch pack vouchers
- InvalidMetadataKeyMetaplex Token Metadata
Metadata's key must match seed of ['metadata', program id, mint] provided
- InvalidStateTransitionPhoenix
Invalid state transition error
- ExpectedAccountSPL Token Swap
Deserialized account is not an SPL Token account