As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: FLAPS FAILED TO EXTEND AS COMMANDED. STOPPED JUST INTO THE 5 BAND. PER QUICK REFERENCE HANDBOOK USED ALTERNATE FLAPS TO EXTEND TO 15. EMERGENCY WAS DECLARED AND NOT OVERWEIGHT FOR LANDING. REMOVED AND REPLACED FLAP/SLAT ELECTRONIC UNIT (AALA202204044578) PER AMM 27-51-01. REMOVED AND REPLACED FLAP POSITION INDICATOR PER AMM 27-58-02. OPERATIONS CHECK GOOD.