<?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 (505) Http Version Not Supported error when invoking workflow via Invoke-RestMethod in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105894#M18715</link>
    <description>&lt;P&gt;Hi WFA gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am invoking a WFA workflow using&amp;nbsp;&lt;SPAN&gt;Invoke-RestMethod in PSv3/PSv4. When I invoke the script to call the workflow via rest it fails with the following error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; Invoke-Rest.ps1&lt;BR /&gt;Invoke-RestMethod : The remote server returned an error: (505) Http Version Not Supported.&lt;BR /&gt;At H:\Invoke-Rest.ps1:58 char:22&lt;BR /&gt;+ [xml]$executionXML = Invoke-RestMethod -Method Post -Credential $credential -Uri ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&lt;BR /&gt;+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where as if invoke the workflow with postman rest client and then run the same script it works perfectly fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So not sure what is the difference and the cause when its invoked via PS for the first time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone encountered this earlier ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW here is the snippet of my invoke&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[xml]$executionXML = Invoke-RestMethod -Method Post -Credential $credential -Uri $workflowExecutionUri -body $XMLObject -ContentType "application/xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:10:42 GMT</pubDate>
    <dc:creator>AdaikkappanArumugam</dc:creator>
    <dc:date>2025-06-05T04:10:42Z</dc:date>
    <item>
      <title>(505) Http Version Not Supported error when invoking workflow via Invoke-RestMethod</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105894#M18715</link>
      <description>&lt;P&gt;Hi WFA gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am invoking a WFA workflow using&amp;nbsp;&lt;SPAN&gt;Invoke-RestMethod in PSv3/PSv4. When I invoke the script to call the workflow via rest it fails with the following error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; Invoke-Rest.ps1&lt;BR /&gt;Invoke-RestMethod : The remote server returned an error: (505) Http Version Not Supported.&lt;BR /&gt;At H:\Invoke-Rest.ps1:58 char:22&lt;BR /&gt;+ [xml]$executionXML = Invoke-RestMethod -Method Post -Credential $credential -Uri ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&lt;BR /&gt;+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where as if invoke the workflow with postman rest client and then run the same script it works perfectly fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So not sure what is the difference and the cause when its invoked via PS for the first time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone encountered this earlier ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW here is the snippet of my invoke&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[xml]$executionXML = Invoke-RestMethod -Method Post -Credential $credential -Uri $workflowExecutionUri -body $XMLObject -ContentType "application/xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:10:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105894#M18715</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2025-06-05T04:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: (505) Http Version Not Supported error when invoking workflow via Invoke-RestMethod</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105896#M18717</link>
      <description>&lt;P&gt;This error is normally not seen with Invoke-RestMethod. But, if its has, you can try this. Type the below line before calling the Invoke-RestMethod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[System.Net.ServicePointManager]::Expect100Continue = $false&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2015 03:15:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105896#M18717</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-06-06T03:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: (505) Http Version Not Supported error when invoking workflow via Invoke-RestMethod</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105909#M18719</link>
      <description>&lt;P&gt;Adai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using HTTP or HTTPS to connecto to the WFA server for the REST operatoin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 00:28:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105909#M18719</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2015-06-08T00:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: (505) Http Version Not Supported error when invoking workflow via Invoke-RestMethod</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105956#M18726</link>
      <description>&lt;P&gt;Hi Sinha,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks this seems to work. Will update if there is any failure during the course of testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 18:13:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105956#M18726</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-06-08T18:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: (505) Http Version Not Supported error when invoking workflow via Invoke-RestMethod</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105957#M18727</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am using http and not https.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 18:13:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/505-Http-Version-Not-Supported-error-when-invoking-workflow-via-Invoke/m-p/105957#M18727</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-06-08T18:13:37Z</dc:date>
    </item>
  </channel>
</rss>

