What’s wrong with my EGR circuit?

I have a 2.0l diesel which keeps throwing an error for the EGR circuit. I can reset the error code on my OBD reader but it comes back on within a couple of drives. The EGR itself was replaced, and a couple of leaky hoses were replaced but the problem with the circuit hasn’t gone away. Is it something electrical? That’s not my strongest area tbh.