The error code could temporarily disable the side air bag and seat belt pretensioner deployment during a vehicle rollover spurred by a significant underbody impact, such as striking onroad debris or driving off-road, the Italian-American automaker said.
The company will reprogram computer modules in the affected vehicles to address this error.
The recall covers 1.02 million 2013-16 Ram 1500 and 2500 pickups, and 2014-2016 Ram 3500 pickups in the United States, 216,007 vehicles in Canada; 21,668 in Mexico; and 21,530 outside North America, the automaker said.
Fiat Chrysler said the recall would begin in late June.
In the event of the software error code, the problem could temporarily be addressed by turning the vehicle off and then on, the company said.
The automaker told the U.S. National Highway Traffic Safety Administration it began investigating the issue in December after it received notice of a suit involving a 2014 Ram 1500 in which the airbag failed to deploy in a rollover crash.
Reporting by David Shepardson