Sometimes its the sensor, sometimes its the hoses or the ports the hoses hook to ,they become clogged with carbon build up.
Try cleaning the hose ports first.
It can also be the EGRV solenoid or the EGR itself
Just some more thoughts on the subject
Rich