Nexus

py-algorand-sdk ZeroAddressError: "For the zero address, please specify AAAA..."

Short answer: A receiver or other address was None. The SDK refuses to guess and asks for the explicit zero address.

The exact message

ZeroAddressError: For the zero address, please specify AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ

Source: captured locally with py-algorand-sdk 2.12.0 on 2026-12-03.

Why it happens

Captured with receiver=None. The message prints the string to use if you really mean the zero address.

How to fix it

Wording can change between SDK versions. All Python SDK errors · errors.json · JavaScript SDK errors · API errors · node errors