

# ValidationExceptionDetail
<a name="API_CostOptimizationHub_ValidationExceptionDetail"></a>

The input failed to meet the constraints specified by the AWS service in a specified field.

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

 ** fieldName **   <a name="awscostmanagement-Type-CostOptimizationHub_ValidationExceptionDetail-fieldName"></a>
The field name where the invalid entry was detected.  
Type: String  
Required: Yes

 ** message **   <a name="awscostmanagement-Type-CostOptimizationHub_ValidationExceptionDetail-message"></a>
A message with the reason for the validation exception error.  
Type: String  
Required: Yes

## See Also
<a name="API_CostOptimizationHub_ValidationExceptionDetail_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/cost-optimization-hub-2022-07-26/ValidationExceptionDetail) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cost-optimization-hub-2022-07-26/ValidationExceptionDetail) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cost-optimization-hub-2022-07-26/ValidationExceptionDetail) 