If Bob signs a contract for Alice to paint a fence for $800 and a copy-paste error transfers her $1000 instead, yes.
But if the copy-paste error happened before the contract was signed? Leading to Bob promising Alice $1000 and signing a contract promising it? Then in all probability, Bob will end up paying the contract amount.