<?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: Not able to update ParameterContent using Nifi REST API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/385157#M245635</link>
    <description>&lt;P&gt;I am able to solve the problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access token Rest API generates two token (check under cookies)&amp;nbsp; -&amp;nbsp;Secure-Request-Token and other is Secure-Authorization-Bearer token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;While calling any of the other API (like creating Parameter Context or updating Parameter context)&amp;nbsp; - in Headers provide one more header "Request-Token"&amp;nbsp; with the value of&amp;nbsp; _secure-Request-Token (From cookies).&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 04:51:28 GMT</pubDate>
    <dc:creator>mohdriyaz</dc:creator>
    <dc:date>2024-03-19T04:51:28Z</dc:date>
    <item>
      <title>Not able to update ParameterContent using Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384873#M245531</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am using Nifi 2.0&lt;/P&gt;&lt;P&gt;I want to update existing Parameter Context using Nifi API.&amp;nbsp; For that , following API is used&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requests" target="_blank" rel="noopener"&gt;https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requests&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where&amp;nbsp; "2ddc0cea-018e-1000-3852-3611d730f705" is the Id of parameter context.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mohdriyaz_0-1710217058741.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40043i1BFC9610EAFB66ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mohdriyaz_0-1710217058741.png" alt="mohdriyaz_0-1710217058741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Issue :&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I tried to update the ParameterContext using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requests" target="_blank" rel="noopener"&gt;https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requests&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but its throwing 403 error .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I updated the Request with&amp;nbsp; token (Bearer) but still getting the same error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any Pointers..??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Riyaz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:22:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384873#M245531</guid>
      <dc:creator>mohdriyaz</dc:creator>
      <dc:date>2024-03-12T07:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to update ParameterContent using Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384884#M245538</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109451"&gt;@mohdriyaz&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31438"&gt;@TimothySpann&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 09:32:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384884#M245538</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-03-12T09:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to update ParameterContent using Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384900#M245551</link>
      <description>&lt;P&gt;403 : Client is not authorized to make this request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means you are Authenticated and since you have a valid token but you are not authorized to do this action.&lt;/P&gt;&lt;P&gt;to double-check if your user is Authorized, check if you can do the same action directly from NiFi UI ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 12:52:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384900#M245551</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2024-03-12T12:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to update ParameterContent using Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384924#M245565</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/42173"&gt;@ckumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes , i am able to do the changes via Nifi UI.&lt;/P&gt;&lt;P&gt;Note :&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created the user user using following command&amp;nbsp; :&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi.cmd set-single-user-credentials username password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 05:55:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384924#M245565</guid>
      <dc:creator>mohdriyaz</dc:creator>
      <dc:date>2024-03-13T05:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to update ParameterContent using Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384993#M245586</link>
      <description>&lt;P&gt;I would further interested check nifi-user.log to see the forbidden events when you see&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;403 error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 14:25:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/384993#M245586</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2024-03-14T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to update ParameterContent using Nifi REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/385157#M245635</link>
      <description>&lt;P&gt;I am able to solve the problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access token Rest API generates two token (check under cookies)&amp;nbsp; -&amp;nbsp;Secure-Request-Token and other is Secure-Authorization-Bearer token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;While calling any of the other API (like creating Parameter Context or updating Parameter context)&amp;nbsp; - in Headers provide one more header "Request-Token"&amp;nbsp; with the value of&amp;nbsp; _secure-Request-Token (From cookies).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 04:51:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-update-ParameterContent-using-Nifi-REST-API/m-p/385157#M245635</guid>
      <dc:creator>mohdriyaz</dc:creator>
      <dc:date>2024-03-19T04:51:28Z</dc:date>
    </item>
  </channel>
</rss>

