Nexus

algosdk "failed to decode mnemonic"

Short answer: The 25-word recovery phrase could not be turned into a key. The message is the same whether a word is wrong, the checksum is wrong or the word count is wrong, so you have to check which.

The exact message

failed to decode mnemonic

Source: Error, captured locally with algosdk 3.9.0 on 2026-12-03.

Why it happens

Three different faults were tried and all gave the identical message "failed to decode mnemonic": a word that is not in the list ("notaword"), a valid word in the checksum position that makes the checksum wrong, and 24 words instead of 25.

How to fix it

Wording can change between SDK versions. All SDK errors · errors.json · node errors · x402 errors.