It's most likely the controller-circuit board....
It's most likely the controller/circuit board,,,,,, BUT,,, it sometimes can be a weak gas valve and/or ignitor.
If the controller doesn't see the proper resistance/amp draw from the gas valve ignitor combo it'll set a code.
The board is...