As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: AFTER T/O INITIAL GEAR RETRACTION THE GEAR RETRACTED BUT THE MAIN GEAR DOORS DID NOT CLOSE. GEAR DISAGREE, GEAR DOOR MESSAGES. DECESION MADE TO RETURN TO MIA, EMERGENCY DECLARED AIRCRAFT LANDED OVERWEIGHT AND WITHOUT INCIDENT. MAINTENANCE REPLACED THE TRUCK TILT ACUATOR.