My lawn tractor has done that a couple times. I start taking apart the plastic molex connectors and flushing with electrical cleaner/lube, and after each one cleaned, try the starter. There's probably 6 of them on the machine and mostly are about the safety lockouts.