A drilling rig barely averted disaster as it toppled over onto a condominium building.

The fallen rig caused minor damage to a balcony on a building located at 167th Street and Collins Avenue.

Images from Sky 10 showed the top of the crane busting through a wall in one of the building's lower units.

"Either wind, human error, or the surface that they're working on," said Sunny Isles Beach Police Sgt. Brian Schnell. "It's a beachfront surface. It could be any of these three things."

No injuries were reported from the accident site.