Unable take account online - Couldn't sign tx

I’m actually on the MainNet and have funded the account with 1 ALGO. Issuing the following

sudo -u algorand -E goal account changeonlinestatus -a YN66EXZG… -w pond

gives me the error:

Couldn’t sign tx: HTTP 400 Bad Request: TransactionPool.Remember: transaction WRJO7HYYZE2ZBL6YH3FRFN4DDVXCCMEMEYWVVRERUFOBZXEB55ZA: overspend (account YN66EXZG6R7XASUSTVBIG5M2H3O3TTJXLUZX3NYG5HJ5K3ICV4PYY2KULY, data {_struct:{} Status:Offline MicroAlgos:{Raw:0} RewardsBase:0 RewardedMicroAlgos:{Raw:0} VoteID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] SelectionID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] VoteFirstValid:0 VoteLastValid:0 VoteKeyDilution:0 AssetParams:map Assets:map AuthAddr:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ AppLocalStates:map AppParams:map TotalAppSchema:{_struct:{} NumUint:0 NumByteSlice:0}}, tried to spend {1000}) (for multisig accounts, write tx to file and sign manually)

Not sure what the issue is here. Could be related to the initial round which I set as:
sudo -u algorand -E goal account addpartkey -a YN66EXZ… --roundFirstValid 65000 --roundLastValid 3361000

??
Thanks!

Most likely the issue is that your node is not synced up so it does not see the correct balance.

Can you run goal node status?
Sync time must be 0.0s and last committed block should match what algoexplorer.io shows as latest block.

Yes, OK thats the problem. I’m a fair bit behind the commit block. I just have to wait for the network to sync up. I try again later.
Thanks a lot!!

Hi @z88kat unless you’re running an Archival node, remember that for normal Participation Nodes you can speed the sync process using Fast Catchup: Install a Node - Algorand Developer Portal

1 Like