Honda generator eu6500is overload
if you mean the gas engine starts and then dies, its not getting fuel fast enough, a screen or filter,
if its the type you start then engage the generator and it dies, not sure,,
also a lot them have an oil sensor,, the older ones went bad a lot..., the all go bad eventually, most of the time you can unplug them and it will run fine,,, the wire that is connected near the bottom of the crankcase and usually has a plastic plug within a couple inches, just unplug it and see if that fixes it.... those new sensors shouldn't be very expensive.
those are the two top issues....plugged up fuel supply in the carb or the screen in the tank or a filter in between,, or the oil sensor is bad...
the sensor idea is because you're inside the house and the generator is outside so you wont notice if it runs low on oil and the sensor will shut it off to save it from damage...