I am getting the following error when trying to importing access rules via the API using the Python script
Failed to import access-rule with name [Cleanup rule]. Error: message: Missing parameter: [layer]
python import_export_package.py -op import -sid "xxxxx" -m 1.1.1.1 -n TEST -f importing/policy.tar.gz
I have tried referencing the layer by name and UID, to no avail
action,layer,action-settings.enable-identity-captive-portal,comments,content-direction,content-negate,content.0,custom-fields.field-1,custom-fields.field-2,custom-fields.field-3,destination-negate,enabled,install-on.0,name,position,service-negate,source-negate,time.0,track.accounting,track.alert,track.per-connection,track.per-session,track.type,vpn.0,destination.0,service.0,source.0,source.1
Drop,77da8da0-9bd6-49ec-89a1-9fe3de97f7d1,,,any,false,Any,,,,false,true,Policy Targets,Cleanup rule,3,false,false,Any,false,none,false,false,None,Any,Any,,,Any,,Any,
Any help would be much appreciated
Thanks
Nick