As WJCO mentioned, carbon buildup can cause this code. Happened on my JK last year. A used a fuel injector cleaner called Redline. It has a 41% concentration of PEA and will help reduce the carbon buildup from valves, Pistons, injectors and the egr valve.
This product is not snake oil like many other additives. After running it through 1 tank of gas, no more egr code.
I'm sure there are other brands out there that are just as good. Just look for one with a high percentage of Poly Ethel Amine (PEA). The MSDS will provide this info.