hello everybbody

nice to have such support from you all
i bought 2010 Buell xb12 xt model from Japan 19000 km on it

just after riding some kms i noticed that when the engine is getting hot it will not start or starts after several attempts and there is such symptoms

1) the rpm goes 2000-3000 and the engine light is on,
2) during this time the throttle is not responsive and i feel the smell of fuell,
3) in some cases it will **** down, but most cases after a minute of working it is getting in its normal way and i can drive till the next time i try to start the engine

it happens when the bike is hot

self-diagnostic shows code 56

please advise where to look, what to do to understand what is happening to my bike

how to act?