I had the same problem. The fault was indeed in the wire that is connected to ground. It is necessary to remove the lens and check the ground wire to the lamp housing.