Custom program error

0x77

Appears in logs as custom program error: 0x7. Defined by 2 programs: SPL Token, System. Check which program failed in your logs.

Which one is yours?
The log line Program <id> failed: custom program error: 0x7 names the program that returned the code. Match that id to the program below. Anchor programs also print Error Code: … Error Number: … right above the failure.
SPL TokenTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

InvalidNumberOfProvidedSigners

“Invalid number of provided signers”

A multisig instruction was given a different number of signer accounts than it needs.

Common causes

  • Passing too many or too few signers for the multisig configuration (1 to 11 signers are supported).

How to fix it

  • Pass exactly the signers listed in the multisig and make sure each one actually signs the transaction.
System11111111111111111111111111111111

NonceBlockhashNotExpired

“stored nonce is still in recent_blockhashes”

You tried to advance a durable nonce whose current value is still a recent blockhash, so there is nothing to advance yet.

Common causes

  • Calling advanceNonceAccount twice in quick succession, or right after initialising the nonce.

How to fix it

  • Wait for the stored blockhash to leave the recent set (roughly a minute or two) before advancing again.

Decode another error

Try: