Have you made any modifications or done any maintenance to the bike recently? Is the bike stock? That issue could be many things as the bike does start. Could be a vacuum leak, bad fuel pump or regulator, bad fuel tuner if you are using one, crank position sensor etc. Do you have an engine error light?