350z doesn't start

I have a 2003 nissan 350z when it warms up or i have been driving it for more them 15 min and i shut it off if i try to start it back up within 20 min or so it won’t fire it seems to crank fine but wont fire up till it has sat for 15-20 min but it will fire right up if i push start it i’m not getting a check engine light and its not throwing any codes

Check to see if the ignition system is working and getting power when the trouble happpens again.