As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
CREW REPORTED GEAR DISAGREE AND LT MAIN WOULD NOT RETRACT. CREW RETURNED TO FIELD AND LANDED SAFELY. MX INSPECTED, FOUND LT UPLOCK PROXIMITY SENSOR TARGET LOOSE, TIGHTENED UPLOCK SENSOR AND PERFORMED CHECKS IAW AMM. ACFT RELEASED FOR SERVICE.