<?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 Intellisnap API Support in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Intellisnap-API-Support/m-p/141357#M11964</link>
    <description>&lt;P&gt;I’m trying to fetch data from the webapi. Most of the requests are working fine, but some give an error about XML Message unserialization failed. I use the following Powershell code to request subclient and MediaAgentForLibrary&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;$subclients = Invoke-WebRequest -Method GET -Uri "$APIURL/Subclient?clientId=13" -Headers $headers -ContentType "application/xml" -UseBasicParsing&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$mediaagents = Invoke-WebRequest -Method GET -Uri "$APIURL/MediaAgentForLibrary?libraryId=18" -Headers $headers -ContentType "application/xml" -UseBasicParsing&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The query to /Subclients works as expected and return data, but the query to /MediaAgentForLibrary returns the following error:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;HTTP/1.1 200 OK&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Content-Length: 77&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Content-Type: application/json; charset=utf-8&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Date: Tue, 08 May 2018 11:51:43 GMT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Server: Microsoft-IIS/7.5&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;X-Powered-By: ASP.NET&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "errorMessage":"XML Message unserialization failed.","errorCode":-1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;does anyone know what causes this problem and knows how to solve it?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:32:03 GMT</pubDate>
    <dc:creator>MichelStuart</dc:creator>
    <dc:date>2025-06-04T13:32:03Z</dc:date>
    <item>
      <title>Intellisnap API Support</title>
      <link>https://community.netapp.com/t5/Data-Protection/Intellisnap-API-Support/m-p/141357#M11964</link>
      <description>&lt;P&gt;I’m trying to fetch data from the webapi. Most of the requests are working fine, but some give an error about XML Message unserialization failed. I use the following Powershell code to request subclient and MediaAgentForLibrary&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;$subclients = Invoke-WebRequest -Method GET -Uri "$APIURL/Subclient?clientId=13" -Headers $headers -ContentType "application/xml" -UseBasicParsing&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$mediaagents = Invoke-WebRequest -Method GET -Uri "$APIURL/MediaAgentForLibrary?libraryId=18" -Headers $headers -ContentType "application/xml" -UseBasicParsing&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The query to /Subclients works as expected and return data, but the query to /MediaAgentForLibrary returns the following error:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;HTTP/1.1 200 OK&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Content-Length: 77&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Content-Type: application/json; charset=utf-8&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Date: Tue, 08 May 2018 11:51:43 GMT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Server: Microsoft-IIS/7.5&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;X-Powered-By: ASP.NET&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "errorMessage":"XML Message unserialization failed.","errorCode":-1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;does anyone know what causes this problem and knows how to solve it?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:32:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Intellisnap-API-Support/m-p/141357#M11964</guid>
      <dc:creator>MichelStuart</dc:creator>
      <dc:date>2025-06-04T13:32:03Z</dc:date>
    </item>
  </channel>
</rss>

