As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON DEPARTURE AFTER GEAR RETRACTION, THE RED RIGHT GEAR UNSAFE LIGHT ILLUMINATED IN THE UP AND OFF POSITION. CYCLED GEAR THREE TIMES, LIGHT REMAINED ILLUMINATED. CALLED MX AND LIGHT WENT OUT. REPLACED KORRY LIGHT ASSEMBLY AND RT GEAR UPLOCK SENSOR, FUNCTION CHECK OK.