<?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: Unable to stop processor using API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412323#M253376</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117603"&gt;@nifier&lt;/a&gt;&amp;nbsp;Sharing the details of the rest-api calls you made that are not working along with the specific Apache NiFi version being used may be helpful in providing guidance here.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What response are you getting to your rest-ai calls?&lt;/LI&gt;&lt;LI&gt;What do you see in the nifi-user.log and/or nifi-app.log when you execute your rest-api calls?&lt;/LI&gt;&lt;LI&gt;How are you handling user authentication in your rest-api-calls (certificate, bearer token, etc)?&lt;/LI&gt;&lt;/OL&gt;&lt;P data-unlink="true"&gt;rest-api call:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;nifinode&amp;gt;:&amp;lt;nifiport&amp;gt;/nifi-api/processors/&amp;lt;Processor  UUID&amp;gt;/run-status -X PUT -H 'Content-Type: application/json' --data-raw '{"revision":{"clientId":"&amp;lt;ID&amp;gt;","version":&amp;lt;version num&amp;gt;},"state":"&amp;lt;RUNNING, STOPPED, or RUN_ONCE&amp;gt;","disconnectedNodeAcknowledged":false}' --insecure&lt;/LI-CODE&gt;&lt;P&gt;Above would also need a client auth piece.&lt;/P&gt;&lt;P&gt;What may be helpful to you is utilizing the developer tools in your web browser to capture the rest-api calls made as you perform the actions via the NiFi UI.&amp;nbsp; Most developer tools give you the option to "copy as curl" the request that was made.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Wed, 10 Sep 2025 17:12:28 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-09-10T17:12:28Z</dc:date>
    <item>
      <title>Unable to stop processor using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412322#M253375</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a flow created with&amp;nbsp;&lt;/SPAN&gt;ListSFTP&lt;SPAN&gt;&amp;nbsp;, we have it scheduled it once per day, but for some reason if files are not available at source, we would like to&amp;nbsp;&lt;/SPAN&gt;Stop&lt;SPAN&gt;&amp;nbsp;it and execute&amp;nbsp;&lt;/SPAN&gt;Run Once&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;Start&lt;SPAN&gt;&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;Primary&lt;SPAN&gt;&amp;nbsp;Processor again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These step work fine from NiFi UI but when we try to use NiFi Api (&lt;/SPAN&gt;/processors/{id}/run-status&lt;SPAN&gt;) to stop the&amp;nbsp;&lt;/SPAN&gt;Primary&lt;SPAN&gt;&amp;nbsp;processor, the Processor wont stop, we are passing the latest&amp;nbsp;&lt;/SPAN&gt;Version Id&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;Client Id &lt;SPAN&gt;as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestion on how to fix this ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 15:33:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412322#M253375</guid>
      <dc:creator>nifier</dc:creator>
      <dc:date>2025-09-10T15:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to stop processor using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412323#M253376</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117603"&gt;@nifier&lt;/a&gt;&amp;nbsp;Sharing the details of the rest-api calls you made that are not working along with the specific Apache NiFi version being used may be helpful in providing guidance here.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What response are you getting to your rest-ai calls?&lt;/LI&gt;&lt;LI&gt;What do you see in the nifi-user.log and/or nifi-app.log when you execute your rest-api calls?&lt;/LI&gt;&lt;LI&gt;How are you handling user authentication in your rest-api-calls (certificate, bearer token, etc)?&lt;/LI&gt;&lt;/OL&gt;&lt;P data-unlink="true"&gt;rest-api call:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;nifinode&amp;gt;:&amp;lt;nifiport&amp;gt;/nifi-api/processors/&amp;lt;Processor  UUID&amp;gt;/run-status -X PUT -H 'Content-Type: application/json' --data-raw '{"revision":{"clientId":"&amp;lt;ID&amp;gt;","version":&amp;lt;version num&amp;gt;},"state":"&amp;lt;RUNNING, STOPPED, or RUN_ONCE&amp;gt;","disconnectedNodeAcknowledged":false}' --insecure&lt;/LI-CODE&gt;&lt;P&gt;Above would also need a client auth piece.&lt;/P&gt;&lt;P&gt;What may be helpful to you is utilizing the developer tools in your web browser to capture the rest-api calls made as you perform the actions via the NiFi UI.&amp;nbsp; Most developer tools give you the option to "copy as curl" the request that was made.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Wed, 10 Sep 2025 17:12:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412323#M253376</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-09-10T17:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to stop processor using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412329#M253381</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were able to resolve it there was a typo in our api call.&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 07:37:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-stop-processor-using-API/m-p/412329#M253381</guid>
      <dc:creator>nifier</dc:creator>
      <dc:date>2025-09-11T07:37:52Z</dc:date>
    </item>
  </channel>
</rss>

