Short answer: The sending account does not have enough ALGO (above its minimum balance) to cover what the transaction spends, fees included.
Pattern:
overspend (account <ADDRESS>, data {AccountBaseData:{... MicroAlgos:<balance> ...}}, tried to spend <amount>)
Captured verbatim from a testnet node on 2026-12-03:
transaction TRQ2QLHD5MUGRKHBI32TTCIQB2IEHAEJRD7SUQRI2UM4XGFHYQKA: overspend (account LP6YOM6CQ2X65SJRRMLWVITLYTGGGNERYIOXJRTDTZP2O5PQWIL6KERJVI, data {AccountBaseData:{Status:Offline MicroAlgos:0.0A RewardsBase:0 RewardedMicroAlgos:0.0A AuthAddr:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ IncentiveEligible:false TotalAppSchema:{NumUint:0 NumByteSlice:0} TotalExtraAppPages:0 TotalApp
Algorand checks the sender after the transaction: balance minus amount minus fee must stay at or above the account minimum balance (0.1 ALGO, plus 0.1 ALGO per opted-in asset and more for app state). In the capture the sender was a brand-new account with 0 ALGO, and the message printed its whole account record and "tried to spend 1mA" (1 milliAlgo = 1000 microAlgos, i.e. the fee). So the figure after "tried to spend" is not always the payment amount. A second measurement, run the same day: an account that held real ALGO on mainnet was used to sign a payment sent to a TestNet node, and the TestNet node answered with the same "overspend" message and "tried to spend 1mA", because on TestNet that address has a balance of 0. If you funded an account but the record inside the message shows MicroAlgos:0.0A, check that you are pointing at the network where you funded it.
algod.accountInformation(addr) gives amount and minBalance (microAlgos).const info = await algod.accountInformation(addr).do();
const spendable = info.amount - info.minBalance;
if (spendable < amount + 1000n) throw new Error('fund the account first');
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.