As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
FLAPS FAILED AT 20 DEGREES WHEN SELECTING FLAPS 30 DEGREES. CREW DECLARED AN EMERGENCY AND LANDED WITHOUT INCIDENT. MAINTENANCE REMOVED AND REPLACED FLAP ELECTRONIC CONTROL UNIT AND PERFORMED CHECKS IAW AMM. THE AIRCRAFT WAS RELEASED FOR SERVICE.