Tx Doctor / Solana error library / Invalid number of provided signers
Solana error: Invalid number of provided signers (0x7)
The instruction required more (or fewer) signatures than the transaction actually carried. A transaction-assembly problem.
Why it happens
- Multi-signature token operations (set authority on a multisig, transfer from a multisig account) declare how many signers must appear, and the mismatch fails immediately.
- Single-owner wallets should never see this — when they do, the transaction was assembled with the wrong signer flags.
How to fix it
- Retry from the official interface — hand-built transactions usually carry the wrong signer count.
- Developers: the signers parameter of the instruction must list accounts in the exact positions the instruction expects.
What it looks like in the logs
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x7 RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0x7 Wallet UI: "Transaction failed" — custom program error 0x7 (7)
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.
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