As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER TAKEOFF WHEN GEAR WAS RETRACTED THE LANDING GEAR IN-TRANSIT LIGHT REMAINED ILLUMINATED. CREW CONTACTED DISPATCH AND MAINTENANCE CONTROL. CREW WAS TOLD TO DIVERT. AIRCRAFT THEN DIVERTED, LANDED WITH NO FURTHER INCIDENTS. REMOVED AND REPLACED RT UPLOCK SWITCH. OPS CK NORMAL. P/N H11-1541.