As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING CRUISE FLIGHT CREW REPORTED A FLAP FAIL MESSAGE ON EICAS. AN EMERGENCY WAS DECLARED AND AIRCRAFT WAS LANDED WITH NO FURTHER INCIDENTS REPORTED. MAINTENANCE REMOVED AND REPLACED THE FLAP POWER DRIVE UNIT IAW EMB MM. OPERATIONAL CHECK WAS GOOD AND AIRCRAFT WAS RETURNED TO SERVICE. (M)