sensor issue vs electronic control

[SIZE=1]While baking, our range will often begin to flash the F2 error code. If we turn off the oven for 5 minutes or so and turn it back on, we can trick it into working for us again most of the time. I have read that the F2 error comes on when the temperature exceeds a certain high temperature, but when this F2 error occurs, the actual temperature of the oven is probably only 400 or 425 degrees. Would this problem be the temperature sensor or would it be the clock/computer? Thanks! [/SIZE]