As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
UPON REACHING CRUISE ALTITUDE, RECEIVED EICAS MESSAGE "FLAP FAIL". NO CHANGES MADE TO THE FLAP POSITION. DECLARED AN EMERGENCY AND LANDED WITH FLAPS IN THE "1" POSITION. MAINTENANCE REMOVED AND REPLACED BOTH LEFT O/B FLAP SKEW SENSORS.