Nexus

Algorand "check failed on ApprovalProgram: program version must be >= 2"

Short answer: The approval program is not valid compiled TEAL: its first byte is read as version 1, which application programs cannot use.

The exact message

TransactionPool.Remember: transaction <TXID>: check failed on ApprovalProgram: program version must be >= 2 for this transaction group, but have version 1

Source: TestNet node, HTTP 400, captured 2026-12-03; transaction ids and addresses replaced with placeholders.

Why it happens

Captured by creating an app from three arbitrary bytes. The first byte (1) was read as the program version. Application programs need version 2 or higher; a common cause is passing source text or base64 text instead of the compiled bytes.

How to fix it

Wording can change between node versions. All of these · errors.json · more transaction errors · API errors · SDK errors