

# ValidationExceptionField
<a name="API_benefits_ValidationExceptionField"></a>

Represents a field-specific validation error with detailed information.

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

**Note**  
In the following list, the required parameters are described first.

 ** Message **   <a name="AWSPartnerCentral-Type-benefits_ValidationExceptionField-Message"></a>
A detailed message explaining why the field validation failed.  
Type: String  
Required: Yes

 ** Name **   <a name="AWSPartnerCentral-Type-benefits_ValidationExceptionField-Name"></a>
The name of the field that failed validation.  
Type: String  
Required: Yes

 ** Code **   <a name="AWSPartnerCentral-Type-benefits_ValidationExceptionField-Code"></a>
An error code explaining why the field validation failed.  
Type: String  
Valid Values: `REQUIRED_FIELD_MISSING | INVALID_ENUM_VALUE | INVALID_STRING_FORMAT | INVALID_VALUE | NOT_ENOUGH_VALUES | TOO_MANY_VALUES | INVALID_RESOURCE_STATE | DUPLICATE_KEY_VALUE | VALUE_OUT_OF_RANGE | ACTION_NOT_PERMITTED`   
Required: No

## See Also
<a name="API_benefits_ValidationExceptionField_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/partnercentral-benefits-2018-05-10/ValidationExceptionField) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/partnercentral-benefits-2018-05-10/ValidationExceptionField) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/partnercentral-benefits-2018-05-10/ValidationExceptionField) 