py-algorand-sdk TransactionGroupSizeError: "transaction groups are limited to 16 transactions"
Short answer: An atomic group can contain at most 16 transactions.
The exact message
TransactionGroupSizeError: transaction groups are limited to 16 transactions
Source: captured locally with py-algorand-sdk 2.12.0 on 2026-12-03.
Why it happens
Captured with assign_group_id on 17 distinct payments.
How to fix it
- Split into several groups of 16 or fewer. Inner transactions do not count toward the 16.
Wording can change between SDK versions. All Python SDK errors · errors.json · JavaScript SDK errors · API errors · node errors