I had a similar problem. Mine turned out to be bad gas.
Small amount of Carb Cleaner in the gas tank, topped up with fresh gas fixed it for me


Mole, 2005 865cc Speedmaster, Teal Blue AI removed, SS Short slash exhausts.