

# ImageFailure
<a name="API_ImageFailure"></a>

An object representing an Amazon ECR image failure.

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

 ** failureCode **   <a name="ECR-Type-ImageFailure-failureCode"></a>
The code associated with the failure.  
Type: String  
Valid Values: `InvalidImageDigest | InvalidImageTag | ImageTagDoesNotMatchDigest | ImageNotFound | MissingDigestAndTag | ImageReferencedByManifestList | KmsError | UpstreamAccessDenied | UpstreamTooManyRequests | UpstreamUnavailable | ImageInaccessible`   
Required: No

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

 ** imageId **   <a name="ECR-Type-ImageFailure-imageId"></a>
The image ID associated with the failure.  
Type: [ImageIdentifier](API_ImageIdentifier.md) object  
Required: No

## See Also
<a name="API_ImageFailure_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/ecr-2015-09-21/ImageFailure) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-2015-09-21/ImageFailure) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-2015-09-21/ImageFailure) 