Most have posted about wire harness connectors in various places, but another possibility is the PCB soldering of a connector not being what it should be, unfortunately finding gremlins in electrical systems on bikes and cars is a PITA, to say the least! 😡
I am currently chasing an electrical...