Short answer: The address was passed in lowercase. Algorand addresses are uppercase base32.
Invalid base32 characters
Source: Error, captured locally with algosdk 3.9.0 on 2026-12-03.
The capture lowercased a valid 58-character address and got "Invalid base32 characters". The length was right; the case was not.
account.addr.toString()), without lowercasing..trim().toUpperCase() first.Wording can change between SDK versions. All SDK errors · errors.json · node errors · x402 errors.