<?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: is there way to control the process group though using nifi 2 api in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413240#M253954</link>
    <description>&lt;P&gt;I am not clear on what kind of example I could share with you. 403 seems to imply the user you got the token for does not have permissions to run the operation. You should verify if your user has the correct permissions, specifically "Operate the component" permissions, though I believe these are included if the user has modify permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jan 2026 07:55:22 GMT</pubDate>
    <dc:creator>Green_</dc:creator>
    <dc:date>2026-01-06T07:55:22Z</dc:date>
    <item>
      <title>is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413200#M253924</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I tried to start the process group using the NiFi API, but it always returned a 403 Forbidden message.&lt;/P&gt;&lt;P&gt;I follow the steps below&lt;/P&gt;&lt;P&gt;&lt;SPAN class="inlineVariable resolvedVariable"&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/nifi-api/access/token - get the bearer token successfully&lt;BR /&gt;&lt;SPAN class="inlineVariable resolvedVariable"&gt;{{baseUrl}}&lt;/SPAN&gt;/nifi-api/process-groups/&lt;SPAN class="inlineVariable resolvedVariable"&gt;{{pgId}} passing the JSON value in the body {\"id\":\"${PG_ID}\",\"state\":\"RUNNING\"}",&amp;nbsp;&lt;BR /&gt;but I am getting 403- forbidden error message.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="inlineVariable resolvedVariable"&gt;Please help me to resolve the issue.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Dec 2025 11:20:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413200#M253924</guid>
      <dc:creator>MuruganFinastra</dc:creator>
      <dc:date>2025-12-26T11:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413201#M253925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/113128"&gt;@MuruganFinastra&lt;/a&gt;&amp;nbsp;, Are you sure you are attaching your token correctly to your requests? You should be using an Authorization header with a value of "Bearer &amp;lt;token&amp;gt;" for all requests once you fetch the token.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 08:33:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413201#M253925</guid>
      <dc:creator>Green_</dc:creator>
      <dc:date>2025-12-29T08:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413203#M253927</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes, I am passing the Bearer token into the Authorisation header. Additionally, I can retrieve responses from the other APIs ({{baseUrl}}/nifi-api/flow/current-user and &lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN class="inlineVariable resolvedVariable"&gt;{{baseUrl}}&lt;/SPAN&gt;/nifi-api/process-groups/&lt;SPAN class="inlineVariable resolvedVariable"&gt;{{pgId}}&lt;/SPAN&gt;/status).&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 09:09:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413203#M253927</guid>
      <dc:creator>MuruganFinastra</dc:creator>
      <dc:date>2025-12-29T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413205#M253929</link>
      <description>&lt;P&gt;So GET requests work fine for you but POSTs fail? Perhaps your user does not have write permissions?&lt;/P&gt;&lt;P&gt;I recommend opening devtools and looking at the Network tab to see what requests get sent when you do certain operations (starting/stopping a process group) in the UI. You should be able to replicate them with the REST API if you can do them manually in the UI.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 09:46:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413205#M253929</guid>
      <dc:creator>Green_</dc:creator>
      <dc:date>2025-12-29T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413216#M253940</link>
      <description>&lt;P&gt;Thanks for your suggestion. I replicated the same as UI did, but still getting the same 403- Forbidden error response.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 13:02:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413216#M253940</guid>
      <dc:creator>MuruganFinastra</dc:creator>
      <dc:date>2025-12-30T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413222#M253943</link>
      <description>&lt;P&gt;So just to verify, in the UI you&amp;nbsp;&lt;EM&gt;are&lt;/EM&gt; able to start/stop process groups? If your user is able to do so by clicking on the PG, it should be able to do so with the REST API&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2026 09:15:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413222#M253943</guid>
      <dc:creator>Green_</dc:creator>
      <dc:date>2026-01-01T09:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413223#M253944</link>
      <description>&lt;DIV&gt;&lt;P&gt;Thank you for your input. Your point is absolutely correct. If you could share a working example with the correct parameters, I will replicate it in my environment and verify the results.I appreciate your assistance in helping me resolve this issue.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jan 2026 04:28:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413223#M253944</guid>
      <dc:creator>MuruganFinastra</dc:creator>
      <dc:date>2026-01-02T04:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413240#M253954</link>
      <description>&lt;P&gt;I am not clear on what kind of example I could share with you. 403 seems to imply the user you got the token for does not have permissions to run the operation. You should verify if your user has the correct permissions, specifically "Operate the component" permissions, though I believe these are included if the user has modify permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 07:55:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413240#M253954</guid>
      <dc:creator>Green_</dc:creator>
      <dc:date>2026-01-06T07:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: is there way to control the process group though using nifi 2 api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413241#M253955</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/113128"&gt;@MuruganFinastra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since you are getting a 403 response, the first thing you should do is see what user identity this 403 is being returned for.&amp;nbsp; For this you'll want to be tailing the nifi-user.log while you attempt to make this rest-api call. You will see the denied related log lines in the nifi-user.log.&amp;nbsp; That logging will provide the user identity string and which NiFi authorization policy required for which that user identity did not have the required permissions.&amp;nbsp; &amp;nbsp;Using this output, we can determine the next steps required here.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is the expected user identity being logged?&lt;/LI&gt;&lt;LI&gt;What is the logged authorization policy resulting in the 403 response?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also which user authentication and authorization configuration options are you using in your setup?&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 13:25:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/is-there-way-to-control-the-process-group-though-using-nifi/m-p/413241#M253955</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2026-01-06T13:25:05Z</dc:date>
    </item>
  </channel>
</rss>

