Short answer: A word in the mnemonic is not in the word list, so decoding fails with a ValueError whose message is the list of words you passed.
ValueError: ['notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword', 'notaword']
Source: captured locally with py-algorand-sdk 2.12.0 on 2026-12-03.
Captured with 25 copies of "notaword". Instead of a descriptive message the SDK raised a ValueError whose text is the word list (shown below, cut at 400 characters in the capture).
ValueError as well as the SDK's own error classes when decoding user-provided phrases.Wording can change between SDK versions. All Python SDK errors · errors.json · JavaScript SDK errors · API errors · node errors