RK, review this thread (
https://www.jaycoowners.com/forums/f...ees-67947.html). I know its for a 5500 but alot of the same info is being discussed here as well, including the issues i've had with my generator, and I have the 4000 you have.
Regarding the error code, its pretty simple press the stop button on the generator panel 3 times in 5 seconds and it will start blinking. This is the first level , you must press the stop button one more time to get the second level. Count the blinks and you'll get the error code. More details on that can be found here,
Also, make sure your oil level is not too low or too high. Make sure its right where it should be. Lastly, make sure your fuel level is above the 1/4 tank mark. The generator will shutdown about the 1/4 tank mark to allow the RV to get to a fuel station without running completely out.