

# ActivityTaskFailedEventAttributes
<a name="API_ActivityTaskFailedEventAttributes"></a>

Provides the details of the `ActivityTaskFailed` event.

## Contents
<a name="API_ActivityTaskFailedEventAttributes_Contents"></a>

 ** scheduledEventId **   <a name="SWF-Type-ActivityTaskFailedEventAttributes-scheduledEventId"></a>
The ID of the `ActivityTaskScheduled` event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.  
Type: Long  
Required: Yes

 ** startedEventId **   <a name="SWF-Type-ActivityTaskFailedEventAttributes-startedEventId"></a>
The ID of the `ActivityTaskStarted` event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.  
Type: Long  
Required: Yes

 ** details **   <a name="SWF-Type-ActivityTaskFailedEventAttributes-details"></a>
The details of the failure.  
Type: String  
Length Constraints: Maximum length of 32768.  
Required: No

 ** reason **   <a name="SWF-Type-ActivityTaskFailedEventAttributes-reason"></a>
The reason provided for the failure.  
Type: String  
Length Constraints: Maximum length of 256.  
Required: No

## See Also
<a name="API_ActivityTaskFailedEventAttributes_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/swf-2012-01-25/ActivityTaskFailedEventAttributes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/swf-2012-01-25/ActivityTaskFailedEventAttributes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/swf-2012-01-25/ActivityTaskFailedEventAttributes) 