<?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 Access Denied Error with InvokeHTTP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344275#M234132</link>
    <description>&lt;P&gt;I am using NiFi v.1.16.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to retrieve the weather data from the below URL, I don't get any response unless I specify&amp;nbsp;"Always Output Response", and then I get an Access Denied response.&amp;nbsp; However, these are free data feeds that&amp;nbsp; work just fine using any other client,&lt;/P&gt;&lt;P&gt;e.g. curl&amp;nbsp;&lt;A href="https://w1.weather.gov/xml/current_obs/KSFO.xml" target="_blank" rel="noopener"&gt;https://w1.weather.gov/xml/current_obs/KSFO.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas what may be going on here?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 May 2022 01:04:47 GMT</pubDate>
    <dc:creator>ChuckE</dc:creator>
    <dc:date>2022-05-21T01:04:47Z</dc:date>
    <item>
      <title>Access Denied Error with InvokeHTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344275#M234132</link>
      <description>&lt;P&gt;I am using NiFi v.1.16.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to retrieve the weather data from the below URL, I don't get any response unless I specify&amp;nbsp;"Always Output Response", and then I get an Access Denied response.&amp;nbsp; However, these are free data feeds that&amp;nbsp; work just fine using any other client,&lt;/P&gt;&lt;P&gt;e.g. curl&amp;nbsp;&lt;A href="https://w1.weather.gov/xml/current_obs/KSFO.xml" target="_blank" rel="noopener"&gt;https://w1.weather.gov/xml/current_obs/KSFO.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas what may be going on here?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 01:04:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344275#M234132</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-05-21T01:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access Denied Error with InvokeHTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344279#M234133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After some research I found in order to avoid getting the 403 error, you need to provide the User-Agent to the header as explained by the FAQ under the same domain (scroll below until you find 403 error):&lt;/P&gt;&lt;P&gt;&lt;A href="https://weather-gov.github.io/api/general-faqs" target="_blank" rel="noopener"&gt;https://weather-gov.github.io/api/general-faqs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To solve your problem you need to set the UserAgent Property on the invokeHttp processor. It can be something like: nifi/version 1.16.0&lt;/P&gt;&lt;P&gt;Hope that helps, if it does please accept solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 15:27:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344279#M234133</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-05-21T15:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access Denied Error with InvokeHTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344304#M234140</link>
      <description>&lt;P&gt;Yep!&amp;nbsp; That is absolutely correct.&amp;nbsp; Thanks for that.&amp;nbsp; I spent more time trying to resolve this than I care to admit, because of my bias.&amp;nbsp; Thanks for this&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 14:11:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-Denied-Error-with-InvokeHTTP/m-p/344304#M234140</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-05-23T14:11:18Z</dc:date>
    </item>
  </channel>
</rss>

