Cessna 402/402C/B379 Businessliner/Utiliner
Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Situational Awareness
Aircraft Equipment Problem Less Severe
Flight Crew Returned To Departure Airport; Flight Crew Landed in Emergency Condition
Aircraft; Weather
On approach to RWY XR at ZZZ; extended landing gear and got unsafe indication-Right Main light out. Recycled and same thing so initiated missed approach to go up and troubleshoot. Changed light bulbs per the QRH (Quick Reference Handbook) to see if that was it but was not. Then went through the gear will not extend hydraulically procedure; got a diversion to ZZZ1. Did the Nitro blow-down and still no light. [Notified ATC]. Halfway to ZZZ1; the right gear light finally illuminated. Proceeded to land at ZZZ1 without further incident-the trucks were rolled. Stopped on the runway and shut down; Airport Ops bussed passenger to the gate. Mx (Maintenance) came to tow aircraft to the hangar and the Mx staff determined that there was a loose ground wire on the strut.
Pilot flying C-402 encountered landing gear unsafe indication on approach.