<?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>topic Qlik Replicate [Attunity] Patching End Point in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Replicate-Attunity-Patching-End-Point/m-p/1964339#M17152</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm currently working on a solution to rotate the password of certain Qlik Replicate [Attunity] endpoints. To do so, for my test I'm trying to send an API request to update element 'password' using the patchEndpoint API with the following request:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;http.request("POST", PathEndpointURL, fields= {"file": (json_file, file_data)} ,headers={"%s" % AEMString : "%s" % AEMToken, 'Content-Type': 'application/json'})&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My JSON file contains:&lt;/P&gt;
&lt;P&gt;[{"op":"replace", "path":"/db_settings/password", "value": 'newpassword'}]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I'm using the correct values, however, I'm getting the following error:&lt;/P&gt;
&lt;P&gt;HTTPHeaderDict({'Cache-Control': 'no-cache, no-store', 'Content-Length': '0', 'Server': 'Microsoft-HTTPAPI/2.0', 'Application-Status': '500', 'Application-Message': "&lt;STRONG&gt;SYS-E-INVALREQ, Invalid request pattern&lt;/STRONG&gt; '/v1/servers/[myserver]/endpoints/[myendpoint]'.", 'Application-Detailed-Message': 'SYS,INVALID_REQUEST_PATTERN,/v1/servers/[myserver]/endpoints/[myendpoint]', 'Date': 'Wed, 03 Aug 2022 20:30:37 GMT'})&lt;/P&gt;
&lt;P&gt;I'm using this information:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_patchEndpointSettings.htm" target="_blank"&gt;https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_patchEndpointSettings.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using AWS Lambda, to send a POST request with library urllib3. I won't let me send PATCH requests..&lt;/P&gt;
&lt;P&gt;Any idea how can I resolve this issue please? Is the API not working anymore? Any other API request like get_servers, get_list_of_tasks, exportAll etc., work fine. Also, testing to replace other elements like database, bucket fail too, so my issue is with the Pattern.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 20:45:31 GMT</pubDate>
    <dc:creator>PabloV</dc:creator>
    <dc:date>2022-08-03T20:45:31Z</dc:date>
    <item>
      <title>Qlik Replicate [Attunity] Patching End Point</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Replicate-Attunity-Patching-End-Point/m-p/1964339#M17152</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm currently working on a solution to rotate the password of certain Qlik Replicate [Attunity] endpoints. To do so, for my test I'm trying to send an API request to update element 'password' using the patchEndpoint API with the following request:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;http.request("POST", PathEndpointURL, fields= {"file": (json_file, file_data)} ,headers={"%s" % AEMString : "%s" % AEMToken, 'Content-Type': 'application/json'})&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My JSON file contains:&lt;/P&gt;
&lt;P&gt;[{"op":"replace", "path":"/db_settings/password", "value": 'newpassword'}]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I'm using the correct values, however, I'm getting the following error:&lt;/P&gt;
&lt;P&gt;HTTPHeaderDict({'Cache-Control': 'no-cache, no-store', 'Content-Length': '0', 'Server': 'Microsoft-HTTPAPI/2.0', 'Application-Status': '500', 'Application-Message': "&lt;STRONG&gt;SYS-E-INVALREQ, Invalid request pattern&lt;/STRONG&gt; '/v1/servers/[myserver]/endpoints/[myendpoint]'.", 'Application-Detailed-Message': 'SYS,INVALID_REQUEST_PATTERN,/v1/servers/[myserver]/endpoints/[myendpoint]', 'Date': 'Wed, 03 Aug 2022 20:30:37 GMT'})&lt;/P&gt;
&lt;P&gt;I'm using this information:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_patchEndpointSettings.htm" target="_blank"&gt;https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_patchEndpointSettings.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using AWS Lambda, to send a POST request with library urllib3. I won't let me send PATCH requests..&lt;/P&gt;
&lt;P&gt;Any idea how can I resolve this issue please? Is the API not working anymore? Any other API request like get_servers, get_list_of_tasks, exportAll etc., work fine. Also, testing to replace other elements like database, bucket fail too, so my issue is with the Pattern.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 20:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Replicate-Attunity-Patching-End-Point/m-p/1964339#M17152</guid>
      <dc:creator>PabloV</dc:creator>
      <dc:date>2022-08-03T20:45:31Z</dc:date>
    </item>
  </channel>
</rss>

