As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON FLIGHT 4459 DURING THE DESCENT THE CREW REPORTED THAT WHILE SELECTING FLAPS THEY GOT A FLAP FAIL MESSAGE ON EICAS. THE CAPTAIN DECLARED AN EMERGENCY AND LANDED AT YYZ. THE AIRCRAFT LANDED WITHOUT INCIDENT. THE AIRCRAFT WAS REMOVED FROM SERVICE. REMOVED AND REPLACED THE FLAP TRANSMISSION BRAKE IAW AMM 27-51-01. THE OPERATIONAL CHECK WAS GOOD. THE AIRCRAFT WAS RETURNED TO SERVICE.