py-algorand-sdk AtomicTransactionComposerError: "no transactions to build for AtomicTransactionComposer"
Short answer: You called build_group() before adding any transaction.
The exact message
AtomicTransactionComposerError: no transactions to build for AtomicTransactionComposer
Source: captured locally with py-algorand-sdk 2.12.0 on 2026-12-03.
Why it happens
Captured on a fresh composer.
How to fix it
- Add transactions or method calls first, and check conditional paths that skip the add.
Wording can change between SDK versions. All Python SDK errors · errors.json · JavaScript SDK errors · API errors · node errors