

# ValidationErrorsEntry


Displays errors that occurred during validation of the resource policy.

## Contents


 ** CheckName **   <a name="SecretsManager-Type-ValidationErrorsEntry-CheckName"></a>
Checks the name of the policy.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: No

 ** ErrorMessage **   <a name="SecretsManager-Type-ValidationErrorsEntry-ErrorMessage"></a>
Displays error messages if validation encounters problems during validation of the resource policy.  
Type: String  
Required: No

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/secretsmanager-2017-10-17/ValidationErrorsEntry) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/secretsmanager-2017-10-17/ValidationErrorsEntry) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/secretsmanager-2017-10-17/ValidationErrorsEntry) 