Question
I received an error when importing a yml file via HENNGE Email DLP Admin Console. Can you tell me what is the cause of the error?
Answer
1) Syntax Error
If you get the above "Syntax Error" message on the console, the import file format is not correct and the file cannot be loaded by the system. We recommend you to export a yml file from the current settings by the "Export" function and try correcting the import file based on the exported yml file format.
(Reference)
How to Export Configurations Data?
2) Error Reports
If you get an error report, you can check the following table to know what the error report says. Please correct the errors indicated in the report and try importing the file again. If you are not sure what is the cause of the errors, please contact to a HENNGE Customer Success Guide.
Identifier | Details |
location |
Where the error is occurring |
violation | Please refer to the "3)Error List" section for the error reasons. |
actual_value | The value received by the system based on reading the imported yaml file. |
snippet | Snippet surrounding the location of error. |
[Error Report Example] Suspension duration is wrongly specified for approval request action.
==========================================================
[1]
location: $.rule_groups[0].rules[0].action.type
violation: chkattrfield
actual_value: request_approval
snippet:
--------------------------------------------------------------
5 | - priority: 100
6 | name: test approval
7 | action:
> 8 | type: request_approval
^
9 | attribute:
10 | auto_release: true
11 | duration: 10m
12 |
--------------------------------------------------------------
==========================================================
3)Error List
- General ※ This error could occur for all YAML files.
required | A required field is missing any input. |
ieversion | There is an error in the version section. Do not change the value of "version: 1". |
min | The minimum value that can be set is not met. Please review the value. |
max | The maximum value that can be set is exceeded. Please review the value. |
unique | Duplicates are occurring. Please review the value. |
- Address Groups
name_reserved_by_system | "All" cannot be used in the address group name. Please change it to another name. |
email_or_domain |
There is an error in the format of the address. Please fill in the format by email address, domain, and subdomain. |
not_asterisk | You cannot use "*" (wildcard). Please specify email address, domain, and subdomain in the format. ex. sample@test.com、@test.com、.test.com |
duplicate_address_in_address_group | There are duplicate addresses in a single address group. Please review the addresses. |
duplicate_address_group_name | There are duplicate address group names. Please change it to another name. |
- Rule Groups
eq | There is an error in the setting value. Please review the setting value. |
msgsz | Message size must be between 1 to 2147483647 (2097152KB). |
chkattrfield |
There is a parameter that is not available for the specified action or there is a missing parameter. |
notiftype | The "Notify" setting is incorrect. |
checkAttachmentOption | The "attachment" setting is incorrect. |
chktargetfield |
The "target" setting is incorrect. |
chkpredfield | The "condition" setting is incorrect. |
chkpatfield | The "pattern" setting is incorrect. |
chkcntfield | The "count" setting is incorrect. |
unknown_address_group_name | The address group specified in "pattern" does not exist. |
- Filter
unknown_address_group_name | The specified address group name does not exist. Please check if the address group exists or if the group name is correct. |
unknown_rule_group_name | The specified rule group name does not exist. Please check if the rule group exists or if the group name is correct. |
- Encryption Type
encryption_cfg_name_reserved | "Don't Encrypt" cannot be used as the encryption type name. Please change to another name. |
valid_encryption_type | The "Password Type" setting is incorrect. |
valid_random_password_per_encryption_type | Invalid value is specified that cannot be specified in the "Fixed Password". |
valid_fixed_password_format_per_encryption_type | Invalid value is specified that cannot be specified in the "Random Password". |
not_required_notify_recipient_type_never | "Notify Recipient" cannot be set when "Fixed Password" is specified. |
not_required_notification_template_id_for_encrypt_type | "Notify Recipient Template ID" cannot be specified when "Fixed Password" is selected. |
valid_filename_encoding | The "Filename Encoding" setting is incorrect. |
valid_filename | The "ZIP Filename" setting is incorrect. |
notify_template_not_exist | There is an error in the "Notify Recipient Template ID". |
valid_extension | The setting value for "Exclude Extensions" is incorrect. |
- Encryption Policies
unknown_address_group_name | The specified address group name does not exist. Please check if the address group exists or if the group name is correct. |
unknown_encryption_config_name | The specified encryption type name does not exist. Please check if the encryption type exists or if the type name is correct. |