As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
CREW REPORTED RECEIVING A FLAPS FAIL MESSAGE DURING CRUISE AT FL230. THE CREW DECLARED AN EMERGENCY, CONTINUED TO DESTINATION AND LANDED WITHOUT INCIDENT. R & R THE RT BRAKE AND POSITION SENSOR UNIT, AND PERFORMED CHECKS IAW THE AMM. THE ACFT WAS RELEASED FOR SERVICE.