As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
MIA-DFW - FLT 457 - AFTER TAKEOFF, GEAR FAILED TO RETRACT. ON FOURTH ATTEMPT, GEAR RETRACTED AND LOCKED. LANDED DFW WITHOUT INCIDENT. REPLACED LT TILT SENSOR AND ADJUSTED BOTH LT MLG SENSORS. ACCOMPLISHED GEAR SWING, SYSTEM GROUND CHECKS NORMAL OPERATION. (W)