<?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 Re: Variable error when retrieving node details in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161273#M166</link>
    <description>&lt;P&gt;This is bug 1349122 which you can read about here:&amp;nbsp;&lt;A href="https://mysupport.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=1349122" target="_blank"&gt;https://mysupport.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=1349122&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 12:33:56 GMT</pubDate>
    <dc:creator>RobertBlackhart</dc:creator>
    <dc:date>2020-11-18T12:33:56Z</dc:date>
    <item>
      <title>Variable error when retrieving node details</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161271#M165</link>
      <description>&lt;P&gt;Code:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;netapp_ontap.resources &lt;SPAN&gt;import &lt;/SPAN&gt;Node&lt;BR /&gt;resource = Node(&lt;SPAN&gt;uuid&lt;/SPAN&gt;=uuid)&lt;BR /&gt;&lt;SPAN&gt;return &lt;/SPAN&gt;resource.get().http_response.json()&lt;/PRE&gt;
&lt;P&gt;returns:&lt;/P&gt;
&lt;P&gt;File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/netapp_ontap/resources/node.py", line 617, in get&lt;BR /&gt;return super()._get(**kwargs)&lt;BR /&gt;File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/netapp_ontap/utils.py", line 79, in wrapper&lt;BR /&gt;response = func(*args, **kwargs)&lt;BR /&gt;File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/netapp_ontap/resource.py", line 823, in _get&lt;BR /&gt;self._clone_from_dict(response.json())&lt;BR /&gt;File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/netapp_ontap/resource.py", line 1153, in _clone_from_dict&lt;BR /&gt;input_dict&lt;BR /&gt;File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/netapp_ontap/resource.py", line 434, in from_dict&lt;BR /&gt;raise NetAppRestError(cause=exc) from None&lt;BR /&gt;netapp_ontap.error.NetAppRestError: Caused by ValidationError({'service_processor': {'ipv6_interface': {'netmask': ['Not a valid string.']}}},)&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:44:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161271#M165</guid>
      <dc:creator>nicola_mendella</dc:creator>
      <dc:date>2025-06-04T10:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error when retrieving node details</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161273#M166</link>
      <description>&lt;P&gt;This is bug 1349122 which you can read about here:&amp;nbsp;&lt;A href="https://mysupport.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=1349122" target="_blank"&gt;https://mysupport.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=1349122&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:33:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161273#M166</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2020-11-18T12:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error when retrieving node details</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161274#M167</link>
      <description>&lt;P&gt;Thanks you,&lt;/P&gt;
&lt;P&gt;still i don´t understand how to apply the following solution to my function:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; Exclude the "node.service_processor.ipv6_interface.netmask" field from your 
 netapp_ontap package request.&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:37:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161274#M167</guid>
      <dc:creator>nicola_mendella</dc:creator>
      <dc:date>2020-11-18T12:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error when retrieving node details</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161275#M168</link>
      <description>&lt;P&gt;I would change your code this way:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from netapp_ontap.resources import Node
resource = Node(uuid=uuid)
return resource.get(fields="!service_processor.ipv6_interface.netmask").to_dict()&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:54:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161275#M168</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2020-11-18T12:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error when retrieving node details</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161287#M169</link>
      <description>&lt;P&gt;works perfectly. thank you&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 16:57:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Variable-error-when-retrieving-node-details/m-p/161287#M169</guid>
      <dc:creator>nicola_mendella</dc:creator>
      <dc:date>2020-11-18T16:57:49Z</dc:date>
    </item>
  </channel>
</rss>

