Narrative:

Just reaching an altitude of FL340 we got a spoiler fail master caution with a spoiler open indication on the EICAS. This amounted to an uncommanded spoiler deployment in flight. We went through the emergency/abnormal checklist declared an emergency started a descent and headed to ZZZZ; the nearest suitable airport. We had them roll the emergency vehicles; and we landed uneventfully.

Google
 

Original NASA ASRS Text

Title: EMB145 Captain reports a SPOILER FAIL master caution with a spoiler open indication on the EICAS at FL340. The Emergency Checklist is consulted and flight diverts to the nearest suitable airport.

Narrative: Just reaching an altitude of FL340 we got a SPOILER FAIL master caution with a spoiler open indication on the EICAS. This amounted to an uncommanded spoiler deployment in flight. We went through the Emergency/Abnormal Checklist declared an emergency started a descent and headed to ZZZZ; the nearest suitable airport. We had them roll the emergency vehicles; and we landed uneventfully.

Data retrieved from NASA's ASRS site as of July 2013 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.