As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON APPROACH INTO JFK RECEIVED FLAPS FAILED CAUTION MSG, FLAPS FAILED AT 30 DEG. EMERGENCY DECLARED, A/C LANDED SAFELY AT JFK. RESET BOTH THE SKEW DETECTION SYSTEM AND THE FLAP FECU. PERFORMED OPERATIONAL CHECK OF THE FLAP SYSTEM, OPS CHECK GOOD.