Check for any trapped wires when you replace the light or with the light in place and on hold/waggle each wire going to the connector, see which one if any bring on the indicator, could be a loose connection/frayed wire etc
Also check any earth wires nearby, clean tighten as needed
May be a bit of trial and error involved....if all else fails you might need to replace the entire connector