I usually find it's the spark generator or the electrodes unless the boilers are old. Then wiring or occasionally gas valve has gone bad internally. Frozen condi or blocked flue in rare cases.
One thing to look out for I had an intermittent f28, it was a blocked drain. Only locked out when the bath was let out and caused the lock out. Questioning the customer properly was how I figured it out