As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER TAKEOFF THE FLAPS STAYED AT 20 DEGREES AND WOULD NOT RETRACT. THE CREW FOLLOWED THE QRH, DIVERTED TO ILM, AND LANDED WITHOUT INCIDENT. MAINTENANCE RESET THE FLAP SYSTEM IAW BOMBARDIER CRJ200 SL-00-001. ALL OPERATIONAL CHECKS WERE GOOD. THE AIRCRAFT WAS RELEASED FOR SERVICE.