The last time mine did that I added fuel stabalizer and ran the generator for an hour. The Onan tech told me to always use stabalizer if sitting for more than a few weeks and run for an hour monthly. Be sure to remove the load a few minutes before shutting off the generator. Also prime the generator before starting. Cranking it too long can also throw a code.
__________________
|