Our bot sold the first leg of a two-leg options position. The broker rejected the second for lack of margin. Because the bot was built to undo a half-done entry, the unwanted position lasted seconds. With only an alert, it could have lasted until someone noticed.
A small cloud server ran out of memory at the busiest minute of the day. The operating system killed the bot halfway through placing an order, and the restart nearly placed it again.