<?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 Getting &amp;quot;No applicable policies could be found. Contact the system administrator.&amp;quot;  when running a curl command on a NiFi API Endpoint in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Getting-quot-No-applicable-policies-could-be-found-Contact/m-p/202324#M164330</link>
    <description>&lt;P&gt;First I ran the following command to get an authentication token and verified it this command worked by echoing $token.&lt;/P&gt;&lt;PRE&gt;token=$(curl -k -X POST --negotiate -u : &lt;A href="https://&amp;lt;nifi-hostname&amp;gt;:9091/nifi-api/access/kerberos)" target="_blank"&gt;https://&amp;lt;nifi-hostname&amp;gt;:9091/nifi-api/access/kerberos)&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Then I tried to get one of the processor groups by running this command but got "No applicable policies could be found. Contact the system administrator."&lt;/P&gt;&lt;PRE&gt;curl -k -X GET "https://&amp;lt;nifi-hostname&amp;gt;:9091/nifi-api/process-groups/7c84501d-d10c-407c-b9f3-1d80e38fe36a" -H "Authorization: Bearer $token"&lt;/PRE&gt;&lt;P&gt;I am able to access the NiFi UI and have my given myself access to * for the NiFi Resource Identifier in Ranger. &lt;/P&gt;&lt;P&gt;Additionally if I use Google Chrome I am am able to browse to this link and view the JSON, I'm just not able to execute the curl.&lt;/P&gt;&lt;P&gt;I executed all of the above commands on the NiFi node I am trying to curl to.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jan 2018 00:31:12 GMT</pubDate>
    <dc:creator>josh_nicholson</dc:creator>
    <dc:date>2018-01-20T00:31:12Z</dc:date>
  </channel>
</rss>

