As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING CLIMB THE CREW RECEIVED A FLAPS FAIL 20-8 FAIL MESSAGE. THE AIRCRAFT WAS AROUND 160 KNOTS. THE AIRCRAFT DIVERTED AND DECLARED AN EMERGENCY AND LANDEDWITHOUT FURTHUR INCIDENT. THE AIRCRAFT FERRIED TO A MAINTENANCE BASE AND REPLACED THE FLAP ECTRONIC CONTROL UNIT.