As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
RECEIVED FLAPS FAIL CAUTION MESSAGE AT FL 310'. FLAP INDICATION INDICATES ZERO DEGREES ON BOTH SIDES. FLAPS WERE NOT MOVED AND HAD BEEN IN ZERO DEGREE POSITION FOR ABOUT 20 MINUTES. EMERGENCY DECLARED. RESET FLAPS IAW INSTRUCTIONS, DISCREPANCY NO LONGER EXISTS. RESET FLAP SYS IAW AD2009-06-12.