Trying to send a transaction I get this error

At the step:

txOut=$((${total_balance}-${stakeAddressDeposit}-${fee}))
echo Change Output: ${txOut}

What does it say?

EDIT: You know that you should do the steps on https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node/part-iii-operation/registering-your-stake-address from the very beginning, don’t you?

The balance changed, so “Find your balance and UTXOs .” has to be done again and all the following steps depend on that one.

And doing “You need to find the tip of the blockchain to set the invalid-hereafter parameter properly.” again is also a good idea, since the guide later constructs a transaction that is only valid for 2.7 hours and those are already up by this troubleshooting.