NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

api error 13006: Vserver missing vserver parameter

zapi
3,702 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
3,590 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
3,591 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