As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER DEPARTURE AT 17000 FEET THE CREW RECEIVED A FLAPS FAIL MESSAGE AT ZERO. THE CREW RETURNED TO FIELD AND DECLARED AN EMERGENCY AND LANDED ON THE LONGEST RUNWAY. MAINTENANCE REMOVED AND REPLACED LEFT HAND BRAKE POSITION SENSING UNIT AND WAS RETURNED TO REVENUE SERVICE.