

# BatchGetTaskError

A requested task that the operation could not return, along with the reason.

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

 ** code **   <a name="assurance-Type-BatchGetTaskError-code"></a>
The error code. Known values: NOT\_FOUND, ACCESS\_DENIED, THROTTLED, INTERNAL\_ERROR.  
Type: String  
Required: Yes

 ** key **   <a name="assurance-Type-BatchGetTaskError-key"></a>
The identifier of the task that the operation could not retrieve.  
Type: [TaskKey](API_TaskKey.md) object  
Required: Yes

 ** message **   <a name="assurance-Type-BatchGetTaskError-message"></a>
A human-readable explanation of why the operation could not return this task. Intended for display and logging; match on `code` for programmatic handling.  
Type: String  
Required: Yes

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/BatchGetTaskError) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/BatchGetTaskError) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/BatchGetTaskError) 