Norcold fridge


Hi all
I have a norcold fridge n811,power board 628661,works fine on electric but when you try to light on gas both lights on the control panel flash,you check outside behind the panel you can hear the igniter going click click click for about a dozen times with the pilot light on and a nice blue flame but then the solenoid clicks and the flame goes out.i have tried the hard lockout reset but still the same happens.
Any ideas before I buy a new board.