

# Failure
<a name="API_Failure"></a>

A failed resource. For a list of common causes, see [API failure reasons](https://docs.amazonaws.cn/AmazonECS/latest/developerguide/api_failures_messages.html) in the *Amazon Elastic Container Service Developer Guide*.

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

 ** arn **   <a name="ECS-Type-Failure-arn"></a>
The Amazon Resource Name (ARN) of the failed resource.  
Type: String  
Required: No

 ** detail **   <a name="ECS-Type-Failure-detail"></a>
The details of the failure.  
Type: String  
Required: No

 ** reason **   <a name="ECS-Type-Failure-reason"></a>
The reason for the failure.  
Type: String  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/ecs-2014-11-13/Failure) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/ecs-2014-11-13/Failure) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/ecs-2014-11-13/Failure) 