As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING CLIMBOUT FROM MCO UPON RETRACTION OF THE LANDING GEAR, THE RIGHT MAIN LANDING GEAR DOOR LIGHT REMAINED ILLUMINATED. THE CREW CYCLED THE GEAR, AND THE LEFT AND RIGHT GEAR UNSAFE LIGHTS REMAINED ILLUMINATED. THE CREW ELECTED TO RETURN TO POINT OF ORIGIN. REMOVED AND REPLACED THE LANDING GEAR ACCESSSORY UNIT AND A GEAR SWING WAS PERFORMED. OPERATIONAL CHECKS GOOD.