

# GetRecommendationError
<a name="API_GetRecommendationError"></a>

Describes an error experienced when getting recommendations.

For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.

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

 ** code **   <a name="computeoptimizer-Type-GetRecommendationError-code"></a>
The error code.  
Type: String  
Required: No

 ** identifier **   <a name="computeoptimizer-Type-GetRecommendationError-identifier"></a>
The ID of the error.  
Type: String  
Required: No

 ** message **   <a name="computeoptimizer-Type-GetRecommendationError-message"></a>
The message, or reason, for the error.  
Type: String  
Required: No

## See Also
<a name="API_GetRecommendationError_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/compute-optimizer-2019-11-01/GetRecommendationError) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/compute-optimizer-2019-11-01/GetRecommendationError) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/compute-optimizer-2019-11-01/GetRecommendationError) 