

# StartTimerFailedEventAttributes
<a name="API_StartTimerFailedEventAttributes"></a>

Provides the details of the `StartTimerFailed` event.

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

 ** cause **   <a name="SWF-Type-StartTimerFailedEventAttributes-cause"></a>
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.  
If `cause` is set to `OPERATION_NOT_PERMITTED`, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see [Using IAM to Manage Access to Amazon SWF Workflows](https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the *Amazon SWF Developer Guide*.
Type: String  
Valid Values: `TIMER_ID_ALREADY_IN_USE | OPEN_TIMERS_LIMIT_EXCEEDED | TIMER_CREATION_RATE_EXCEEDED | OPERATION_NOT_PERMITTED`   
Required: Yes

 ** decisionTaskCompletedEventId **   <a name="SWF-Type-StartTimerFailedEventAttributes-decisionTaskCompletedEventId"></a>
The ID of the `DecisionTaskCompleted` event corresponding to the decision task that resulted in the `StartTimer` decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.  
Type: Long  
Required: Yes

 ** timerId **   <a name="SWF-Type-StartTimerFailedEventAttributes-timerId"></a>
The timerId provided in the `StartTimer` decision that failed.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

## See Also
<a name="API_StartTimerFailedEventAttributes_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/StartTimerFailedEventAttributes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/swf-2012-01-25/StartTimerFailedEventAttributes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/swf-2012-01-25/StartTimerFailedEventAttributes) 