As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER GEAR RETRACTION, RED RIGHT GEAR DOOR LIGHT ON AFTER GEAR HANDLE IN OFF POSITION. AND R GEAR DOOR LT. ON ENGINEER'S PANEL ON. PERFORMED CHECKLIST. LIGHT WENT OUT. CLEANED AND RESEATED CONNECTOR ON RIGHT GEAR DOOR UPLOCK SWITCH IAW B727 MM 32-62-11. GEAR DOORS OPS CHECKS GOOD.