A TD Bank in Maine says a “code error” is to blame after a malfunctioning ATM spit out $37,000 to a customer.