Trying to send a transaction I get this error

At the step:

echo Change Output: ${txOut}

What does it say?

EDIT: You know that you should do the steps on 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.