BMW is recalling 569,830 of its vehicles in the United States and Canada due the chance of an electrical failure that may cause the cars to stall unexpectedly.

The recall affects Bayerische Motoren Werke AG's popular 3-Series sedans, convertibles, coup€s and sports wagons as well as its 1-Series coup€s and convertibles and Z4 two-seat roadsters.

A battery cable connection with a fuse box on the cars may degrade over time, which could cause the engine to stall because of a loss of electric power, increasing the risk of a crash, the National Highway Traffic Safety Administration said in a report.

BMW said that there was one crash in Canada, reported to the company related to the issue, which did not cause injury.

There have been no reported crashes or injuries in the United States, the company said.

BMW is recalling 504,545 cars in the United States and another 65,285 in Canada.