Hello all,
I am having an error at the NAT point when exporting my policy with Python tool:
Exporting NAT policy
Getting information from show-nat-rulebase
Retrieved 50 out of 108 rules (46%)
Traceback (most recent call last):
File "ExportImportPolicyPackage-master/ExportImportPolicyPackage-master/import_export_package.py", line 59, in <module>
export_package(client, args)
File "/opt/CPsuite-R80/fw1/Python/bin/ExportImportPolicyPackage-master/ExportImportPolicyPackage-master/exporting/export_package.py", line 59, in export_package
nat_data_dict, nat_unexportable_objects = export_nat_rulebase(show_package.data["name"], client)
File "/opt/CPsuite-R80/fw1/Python/bin/ExportImportPolicyPackage-master/ExportImportPolicyPackage-master/exporting/export_nat_rulebase.py", line 13, in export_nat_rulebase
rulebase_rules, general_objects = get_query_nat_rulebase_data(client, {"package": package})
File "/opt/CPsuite-R80/fw1/Python/bin/ExportImportPolicyPackage-master/ExportImportPolicyPackage-master/exporting/export_objects.py", line 174, in get_query_nat_rulebase_data
if "Automatic Generated Rules : " in rulebase_item["name"]:
KeyError: 'name'
Someone had this error or know what could be the issue?
Thanks