Nexus

algosdk "Cannot add transactions when composer status is not BUILDING"

Short answer: You added to an AtomicTransactionComposer after it had already built its group.

The exact message

Cannot add transactions when composer status is not BUILDING

Source: Error, captured locally with algosdk 3.9.0 on 2026-12-03.

Why it happens

The capture called buildGroup() and then addTransaction(). Once built, the group is fixed because the group id depends on every transaction in it.

How to fix it

Wording can change between SDK versions. All SDK errors · errors.json · node errors · x402 errors.