

# JobFailure
<a name="API_control_JobFailure"></a>

If this job failed, this element indicates why the job failed.

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

 ** FailureCode **   <a name="AmazonS3-Type-control_JobFailure-FailureCode"></a>
The failure code, if any, for the specified job.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: No

 ** FailureReason **   <a name="AmazonS3-Type-control_JobFailure-FailureReason"></a>
The failure reason, if any, for the specified job.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

## See Also
<a name="API_control_JobFailure_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/s3control-2018-08-20/JobFailure) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3control-2018-08-20/JobFailure) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3control-2018-08-20/JobFailure) 