Nexus

Algorand "receiver error: must optin" when sending an asset (USDC)

Short answer: The receiving address has not opted in to the asset, so it cannot hold it. The receiver has to opt in first.

What the node printed

Pattern:

receiver error: must optin, asset <ASSET_ID> missing from <RECEIVER_ADDRESS>

Captured verbatim from a testnet node on 2026-12-03:

transaction GLEANC4GYP5RDJJ22FYTV5JMHLZ65Y5DO2SLXPOT2AWGUTFHA5EQ: receiver error: must optin, asset 778799416 missing from LP6YOM6CQ2X65SJRRMLWVITLYTGGGNERYIOXJRTDTZP2O5PQWIL6KERJVI

Why it happens

Algorand assets (ASAs) must be explicitly opted into by the holder. The capture sent an asset to an address that had not opted in and got "receiver error: must optin, asset 778799416 missing from

". The address in the message is the receiver.

How to fix it

makeAssetTransferTxnWithSuggestedParamsFromObject({ sender: me, receiver: me, assetIndex: 31566704, amount: 0, suggestedParams })

Method: this message was produced on purpose against a live testnet node (https://testnet-api.algonode.cloud) on 2026-12-03. Message wording can change between node versions. All errors: index · errors.json.