Surveillance video shows an attempted theft that quickly turned amusing in Australia.

The unidentified man in the footage was caught on camera trying to steal an ATM from a Queensland convenience store. The suspect smashed through the door’s glass, and then connected a chain from his truck to the ATM with the apparent intention of pulling the ATM out of the store.

There was just one problem: the chain got caught on a rotating sunglasses display and broke.

The attempted thief drove away only to realize that the ATM wasn’t connected, and he circled back to see what the problem was. After he realized the mishap, he drove off for a second time.

Watch the surveillance video above.

Video: Ireland's Dumbest Criminal Knocks Himself Out Cold

Hapless Jewel Thief Breaks In, Gets Trapped in Store

Watch: 19-Year-Old Ice Cream Shop Worker Punches Armed Robber

Caught on Camera: Weight Lifting Grandma Tackles Purse Thief