Unable to submit transaction to testnet

Hello, I am trying to submit the simple transaction from the Stake Pool Course. The command I am entering is:

cardano-cli transaction submit --tx-file tx.signed --testnet-magic 1097911063

And the output I am getting is:

Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (OutsideValidityIntervalUTxO (ValidityInterval {invalidBefore = SNothing, invalidHereafter = SJust (SlotNo 370415)}) (SlotNo 26773840)))),LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {_unTxId = “4e3a6e7fdcb0d0efa17bf79c13aed2b4cb9baf37fb1aa2e39553d5bd720c5c99”}) 1])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 0 (fromList )) (Value 1000000000 (fromList )))))]

I am having some difficulty interpreting this error message. What am I doing wrong here?

I can confirm that this error is not due to TTL, because I just adjusted the TTL but I am still getting the same error.

Hi!

The txOut contains wrong calculated value… I guess it should be 1000000000 instead of 0. What was the values you give to the transaction?