<?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>question Re: InvokeHTTP error. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130442#M43493</link>
    <description>&lt;P&gt;@Timothy Spann, &lt;/P&gt;&lt;P&gt;My NiFi is not SSL configured yet , can I still create SSL Context even if my NiFi instance is not.??&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2016 07:03:44 GMT</pubDate>
    <dc:creator>saikrishna_tara</dc:creator>
    <dc:date>2016-10-14T07:03:44Z</dc:date>
    <item>
      <title>InvokeHTTP error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130439#M43490</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to use InvokeHTTP with the same info as below..(this is generated from a successful call from the vendors test page)...and getting sockettimeout error.&lt;/P&gt;&lt;P&gt;curl -X POST --header "Content-Type: application/x-www-form-urlencoded" --header "Accept: application/vnd.api+json" -d "grant_type=password&amp;amp;client_id=myclientid&amp;amp;client_secret=myclientsecret&amp;amp;username=Saikrishna.Tarapareddy@mycompany&amp;amp;password=mypassword" "&lt;A href="https://api.socialcode.com/oauth2/token" target="_blank"&gt;https://api.socialcode.com/oauth2/token&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;Here is how my invokeHttp process looks.i tried to match all inputs as dynamic properties.&lt;/P&gt;&lt;P&gt;thanks for your help..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8535-invoke1.png" style="width: 879px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22352i11B58D0BAD246937/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8535-invoke1.png" alt="8535-invoke1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8536-invoke2.png" style="width: 879px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22353i25C39E2F54AA12EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8536-invoke2.png" alt="8536-invoke2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:30:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130439#M43490</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-19T09:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeHTTP error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130440#M43491</link>
      <description>&lt;P&gt;According to the curl man page, the "-d" denotes the data. So everything you have in the quotes after "-d" would have to be the content of the FlowFile (which gets posted as the body).&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 04:12:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130440#M43491</guid>
      <dc:creator>jpercivall</dc:creator>
      <dc:date>2016-10-14T04:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeHTTP error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130441#M43492</link>
      <description>&lt;P&gt;You need to create an SSL context&lt;/P&gt;&lt;P&gt;see how to set up SSL here:   &lt;A href="https://community.hortonworks.com/articles/61180/streaming-ingest-of-google-sheets-into-a-connected.html" target="_blank"&gt;https://community.hortonworks.com/articles/61180/streaming-ingest-of-google-sheets-into-a-connected.html&lt;/A&gt;  &lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 06:48:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130441#M43492</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-10-14T06:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeHTTP error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130442#M43493</link>
      <description>&lt;P&gt;@Timothy Spann, &lt;/P&gt;&lt;P&gt;My NiFi is not SSL configured yet , can I still create SSL Context even if my NiFi instance is not.??&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 07:03:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130442#M43493</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-10-14T07:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeHTTP error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130443#M43494</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/39/jpercivall.html" nodeid="39"&gt;@jpercivall&lt;/A&gt; &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Since there is a similar thread below , i posted a detailed flow there.&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;i tried to send it as content from a flowfile but still not working.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/54481/how-to-add-request-headers-and-request-body-to-the.html"&gt;https://community.hortonworks.com/questions/54481/how-to-add-request-headers-and-request-body-to-the.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 22:46:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130443#M43494</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-10-14T22:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeHTTP error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130444#M43495</link>
      <description>&lt;P&gt;it worked when i changed my ReplaceText to the format below. i think this has to do with the mime-type urlencoded.&lt;/P&gt;&lt;P&gt;remember we cannot send special chars like @&lt;/P&gt;&lt;P&gt;i had to send it as &lt;STRONG&gt;%40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is how the ReplaceText processor looks..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8719-invoke2.png" style="width: 751px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22350i4A7E8343FC3C0B23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8719-invoke2.png" alt="8719-invoke2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;grant_type=password&amp;amp;client_id=6e880286&amp;amp;client_secret=d12f0f6d41cfe81fcfc122e3fc17a833&amp;amp;username=Saikrishna.Tarapareddy%40purina.nestle.com&amp;amp;password=7heStuhuwa&lt;/P&gt;&lt;P&gt;also i had mime.type = application/x-www-form-urlencoded in my updateattribute processor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8720-invoke1.png" style="width: 530px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22351i813E1FE23C1247F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8720-invoke1.png" alt="8720-invoke1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks you all.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:30:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InvokeHTTP-error/m-p/130444#M43495</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-19T09:30:21Z</dc:date>
    </item>
  </channel>
</rss>

