When you make your NaServer connection, what API version do you specify? was it 1.31? Just wondering if there is an issue with the ZAPI call with 8.3.2. I tried it invoking the "cifs-share-create" ZAPI using multiple different ONTAPI versions and changing the syntax of the "cifs-share-properties" to use spaces, commas, quotes etc and it failed every time more than one property was used in the "cifs-share-properties" attribute. EG:
Not sure what the correct syntax is to pass mutliple values to the share-properties parameter using ZAPI.
I check the data type of the "share-properties" attribute is definately a string and the documentation indicates it should be comma delimited. Also checked the source code for the "Add-NcCifsShare" PowerShell CmdLet, the "-ShareProperties" parameter is definately a string.
[Parameter(HelpMessage = "The list of properties for this CIFS share. Possible values: \"oplocks\", \"browsable\", \"showsnapshot\", \"changenotify\", \"homedirectory\", \"attributecache\"")]
public string ShareProperties
Not sure about Python but in PowerShell I can pass an array of strings to the ShareProperties parameter. EG:
I just wanted to add that it is possible to make this work with Export-CSV and Import-CSV too. You just have to put the ShareProperities into an array like $Properties below. Hopefully this example will help. I know this is not directly related to your post but I stumbled across this thread while searching on the error and thought it might help someone.