As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
RIGHT MAIN LANDING GEAR UNSAFE LIGHT REMAINED ON AFTER GEAR WAS RETRACTED. FLIGHT RETURNED TO MSP AND LANDED WITHOUT INCIDENT. MAINTENANCE REPLACED DOWNLOCK SWITCH, CLEANED AND LUBED UPLOCK MECHANISM AND REPLACED LOOSE RIVETS FOR SEQUENCE MECHANISM ON DOOR, OPERATIONAL CHECK NORMAL.