<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Please update NMSDK Sample for error 13006 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Please-update-NMSDK-Sample-for-error-13006/m-p/138536#M2598</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I downloaded NMSDK 9.3 and was trying out the sample code. I was getting error: Error 13006: Vserver API missing vserver parameter.&lt;/P&gt;
&lt;P&gt;if you add:&lt;/P&gt;
&lt;P&gt;assign &lt;STRONG&gt;vserver&lt;/STRONG&gt; the name of the vserver and add the following code for C samples:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;na_server_set_vserver(s, vserver);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it starts working. otherwise it gives error: &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Error 13006: Vserver API missing vserver parameter.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same problem exists for other languages too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g. in Python under &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;netapp-manageability-sdk-9.3/src/sample/Data_ONTAP/Python/snapman.py&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I run it as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;python snapman.py -l filer admin Password volume &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;snapshot-list-info failed:Vserver API missing vserver parameter.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you add the code in snapman.py:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;s.set_vserver(svmname)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it starts working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please update all the sample codes in the NMSDK?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:58:40 GMT</pubDate>
    <dc:creator>aditya_pandit</dc:creator>
    <dc:date>2025-06-04T13:58:40Z</dc:date>
    <item>
      <title>Please update NMSDK Sample for error 13006</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Please-update-NMSDK-Sample-for-error-13006/m-p/138536#M2598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I downloaded NMSDK 9.3 and was trying out the sample code. I was getting error: Error 13006: Vserver API missing vserver parameter.&lt;/P&gt;
&lt;P&gt;if you add:&lt;/P&gt;
&lt;P&gt;assign &lt;STRONG&gt;vserver&lt;/STRONG&gt; the name of the vserver and add the following code for C samples:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;na_server_set_vserver(s, vserver);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it starts working. otherwise it gives error: &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Error 13006: Vserver API missing vserver parameter.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same problem exists for other languages too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g. in Python under &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;netapp-manageability-sdk-9.3/src/sample/Data_ONTAP/Python/snapman.py&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I run it as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;python snapman.py -l filer admin Password volume &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;snapshot-list-info failed:Vserver API missing vserver parameter.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you add the code in snapman.py:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;s.set_vserver(svmname)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it starts working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please update all the sample codes in the NMSDK?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:58:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Please-update-NMSDK-Sample-for-error-13006/m-p/138536#M2598</guid>
      <dc:creator>aditya_pandit</dc:creator>
      <dc:date>2025-06-04T13:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Please update NMSDK Sample for error 13006</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Please-update-NMSDK-Sample-for-error-13006/m-p/143434#M2740</link>
      <description>&lt;P&gt;check my reply here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Python-Discussions/Another-Python-Newb-Question/m-p/143425#M28" target="_blank"&gt;https://community.netapp.com/t5/Python-Discussions/Another-Python-Newb-Question/m-p/143425#M28&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 20:15:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Please-update-NMSDK-Sample-for-error-13006/m-p/143434#M2740</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2018-10-09T20:15:47Z</dc:date>
    </item>
  </channel>
</rss>

