

# ProtectedQueryError
<a name="API_ProtectedQueryError"></a>

Details of errors thrown by the protected query.

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

 ** code **   <a name="API-Type-ProtectedQueryError-code"></a>
An error code for the error.  
Type: String  
Required: Yes

 ** message **   <a name="API-Type-ProtectedQueryError-message"></a>
A description of why the query failed.  
Type: String  
Required: Yes

## See Also
<a name="API_ProtectedQueryError_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/cleanrooms-2022-02-17/ProtectedQueryError) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cleanrooms-2022-02-17/ProtectedQueryError) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cleanrooms-2022-02-17/ProtectedQueryError) 