As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
CREW RECEIVED GEAR DISAGREE MESSAGE AFTER DEPARTING CAE, DUE TO THE RIGHT MAIN GEAR NOT RETRACTING. MX INSPECTED AND FOUNG THE RT MAIN GEAR UPLOCK PROXIMITY SENSOR TARGET WAS LOOSE. SECURED THE TARGET, LANDING GEAR RETRACTION AND EXTENSION SYSTEM OPS CHECKED GOOD.