I was having this issue with my Jandy JXI 400N heater that would constantly turn on, heat for a few minutes and then turn off and give a high limit, check IGT errors.
I was able to fix the issue by just replacing the TRV valve. I originally got the part from Amazon and ended up being incorrect...