ONTAP Discussions

api error 13006: Vserver missing vserver parameter

zapi
2,064 Views

I am new to netapp ZAPI ,i am using python library available to connect netapp(https://pypi.org/project/netapp-api/) , connection is successful but when i try to create snapshot i get error :api error 13006: Vserver missing vserver parameter

 

please help to check the issue 

1 ACCEPTED SOLUTION

NetApp_SR
1,952 Views

The implemented features shows "Snapshots (reading)". So I hope you mean creating the return of snapshot information. Creating snapshots is a script is certainly possible  but does not look like creation is included in this API framework. The error 13006 can have multiple meanings. The message "missing vserver parameter" can also be misleading.  It could be indicating that one of the parameters supplied is invalid for some reason. Scripts can also be sensitive to extended characters so try removing any spaces or extended characters like &%@.

 

If you are looking to create snapshots check the examples : https://github.com/NetApp/ontap-rest-python

 

 

View solution in original post

1 REPLY 1

NetApp_SR
1,953 Views

The implemented features shows "Snapshots (reading)". So I hope you mean creating the return of snapshot information. Creating snapshots is a script is certainly possible  but does not look like creation is included in this API framework. The error 13006 can have multiple meanings. The message "missing vserver parameter" can also be misleading.  It could be indicating that one of the parameters supplied is invalid for some reason. Scripts can also be sensitive to extended characters so try removing any spaces or extended characters like &%@.

 

If you are looking to create snapshots check the examples : https://github.com/NetApp/ontap-rest-python

 

 

Public