Check the fuse labeled Urea Sensor/PM Sensor. F61 on my 2020. Maybe different on yours.
Check the voltage across pin 1&2 of the PM sensor connector with the key on. Should be within 1 volt of battery voltage.
If ok
Clean the connector with contact cleaner, reinstall and drive it again.