I have a 2016 3500 and it went crazy. Check engine light would come on for a couple days and then go out. It was also trying to do regens and fail and then the light would come on again. Took to the dealer to figure it out and they checked the codes and cleared them. Drove for a couple days and wham here we go again. Back to the shop and because they cleared the old codes they knew exactly what the issue was and its fairly common. The upstream nox sensor gets water in it and basically goes crazy. They blew the water out of it cleared the codes and good to go until the new one came in 2 weeks later. Worked perfect after drying it out and ever since. It is bolted on the frame and the probe goes into exhaust just behind the turbo.