Code 31 has always been a vehicle down sensor or roll-over sensor. It can be a connection or the sensor itself. That will kill the fuel pump. A 10 second search with Google told me that. Could have save you from buying a fuel pump.
Diagnosing Error Codes: EFI Brute Force | High Lifter Forums
Ok, this is taken virtually straight out of the service manual for the 08. I've edited the info for clarity. As you'll soon see, Kawi didn't decide to make this very simple for us.... The self-diagnosis system has two modes. User Mode The ECU notifies the rider of troubles in DFI syste...