<?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>article Qlik Cloud Analytics: Button executing automation errors out with Bad Request or You are not authorized to run this automation in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Cloud-Analytics-Button-executing-automation-errors-out-with/ta-p/2521013</link>
    <description>&lt;P&gt;Pressing a button that executes an Automation fails with:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Bad request&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;An additional error may be shown:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;You are not authorized to run this automation&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;These errors are typically seen after changing the Automation's owner.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Bad request&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;When the owner of an Automation is changed, the system automatically disables that Automation. In this context, this error indicates that the automation is disabled or that its run mode is incorrectly configured.&lt;/P&gt;
&lt;P&gt;To resolve this:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Ensure the Automation has its status set to &lt;STRONG&gt;Enabled&amp;nbsp;&lt;/STRONG&gt;(&lt;STRONG&gt;A&lt;/STRONG&gt;)&lt;BR /&gt;&lt;BR /&gt;If it is set to &lt;STRONG&gt;Disabled,&amp;nbsp;&lt;/STRONG&gt;click the &lt;STRONG&gt;Actions&lt;/STRONG&gt; (&lt;STRONG&gt;...&lt;/STRONG&gt;) menu (&lt;STRONG&gt;B&lt;/STRONG&gt;) to enable it.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enabling the automation.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181287i1CA2A9EF924755A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="enabling the automation.png" alt="enabling the automation.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Verify the Automation's &lt;STRONG&gt;Run mode&lt;/STRONG&gt;&amp;nbsp;is set to &lt;STRONG&gt;Triggered&lt;/STRONG&gt;. If the Automation is set to a different mode (such as &lt;STRONG&gt;Manual&lt;/STRONG&gt;&amp;nbsp;or &lt;STRONG&gt;Scheduled&lt;/STRONG&gt;), the button will not be able to initiate it.&lt;BR /&gt;&lt;BR /&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open your Automation and select the&amp;nbsp;&lt;STRONG&gt;Start&amp;nbsp;&lt;/STRONG&gt;node&lt;/LI&gt;
&lt;LI&gt;In&amp;nbsp;&lt;STRONG&gt;Inputs&lt;/STRONG&gt;, verify&amp;nbsp;&lt;STRONG&gt;Run Mode&amp;nbsp;&lt;/STRONG&gt;to be set to&amp;nbsp;&lt;STRONG&gt;Triggered&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run mode set to triggered.png" style="width: 477px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181285i60F96DB969FEE921/image-dimensions/477x382?v=v2" width="477" height="382" role="button" title="run mode set to triggered.png" alt="run mode set to triggered.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;You are not authorized to run this automation&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This error can occur after re-enabling an automation and the execution token having changed.&lt;/P&gt;
&lt;P&gt;Follow these steps to re-establish the connection:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Navigate to the sheet where the button containing the automation execution action is located.&lt;/LI&gt;
&lt;LI&gt;Edit the sheet and locate the&amp;nbsp;&lt;STRONG&gt;Actions and navigation&amp;nbsp;&lt;/STRONG&gt;pane.&lt;/LI&gt;
&lt;LI&gt;Find the specific action configured to trigger the automation.&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;Automation&lt;/STRONG&gt;&amp;nbsp;section, remove the currently selected automation name.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="remove automation in actions and navigation pane.png" style="width: 352px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181282i055AF5F4812E8EBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="remove automation in actions and navigation pane.png" alt="remove automation in actions and navigation pane.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Edit sheet&lt;/STRONG&gt; to save this change. This signals the system that the automation link has been cleared.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Edit sheet&lt;/STRONG&gt;&amp;nbsp;and navigate back to the same &lt;STRONG&gt;Automation&lt;/STRONG&gt; action.&lt;/LI&gt;
&lt;LI&gt;Use the dropdown arrow in the &lt;STRONG&gt;Automation&lt;/STRONG&gt;&amp;nbsp;field to select the desired automation you want to be triggered.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Edit sheet&lt;/STRONG&gt;&amp;nbsp;to save the re-selected automation.&lt;/LI&gt;
&lt;LI&gt;Verify that the button now successfully executes the automation without errors.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;As a rule, only use the option to renew the token when strictly needed for security reasons.&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This is a known design limitation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renew execution token on enable.png" style="width: 608px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182188iA7F0518E6B342BDC/image-dimensions/608x352?v=v2" width="608" height="352" role="button" title="renew execution token on enable.png" alt="renew execution token on enable.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As specified in both the dialog and in the documentation (&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-managing-automations.htm#anchor-4" target="_blank" rel="noopener"&gt;source&lt;/A&gt;), “&lt;EM&gt;Renewing the execution token for the following automation(s) will immediately break any reference to the automation(s) through a trigger URL or Qlik Sense button object. This action cannot be undone.&lt;/EM&gt;”&lt;/P&gt;
&lt;P&gt;The purpose of introducing the option to renew the token was to harden the security of automations when it comes to webhooks. With this feature, administrators now have the option to break all current &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_QlikAutomation/working-with-automations/working-with-webhooks.htm" target="_blank" rel="noopener"&gt;webhook connections&lt;/A&gt; to an automation if they feel that security concerns require that.&lt;/P&gt;
&lt;P&gt;Since buttons also use the same execution tokens, they will also be affected.&lt;/P&gt;
&lt;P&gt;The option to renew the execution token should therefore only be used when strictly required by security concerns, e.g., if a token was exposed publicly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Cloud Analytics&lt;/LI&gt;
&lt;LI&gt;Qlik Automate&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 18 Jul 2025 10:24:31 GMT</pubDate>
    <dc:creator>tober</dc:creator>
    <dc:date>2025-07-18T10:24:31Z</dc:date>
    <item>
      <title>Qlik Cloud Analytics: Button executing automation errors out with Bad Request or You are not authorized to run this automation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Cloud-Analytics-Button-executing-automation-errors-out-with/ta-p/2521013</link>
      <description>&lt;P&gt;Pressing a button that executes an Automation fails with:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Bad request&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;An additional error may be shown:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;You are not authorized to run this automation&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;These errors are typically seen after changing the Automation's owner.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Bad request&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;When the owner of an Automation is changed, the system automatically disables that Automation. In this context, this error indicates that the automation is disabled or that its run mode is incorrectly configured.&lt;/P&gt;
&lt;P&gt;To resolve this:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Ensure the Automation has its status set to &lt;STRONG&gt;Enabled&amp;nbsp;&lt;/STRONG&gt;(&lt;STRONG&gt;A&lt;/STRONG&gt;)&lt;BR /&gt;&lt;BR /&gt;If it is set to &lt;STRONG&gt;Disabled,&amp;nbsp;&lt;/STRONG&gt;click the &lt;STRONG&gt;Actions&lt;/STRONG&gt; (&lt;STRONG&gt;...&lt;/STRONG&gt;) menu (&lt;STRONG&gt;B&lt;/STRONG&gt;) to enable it.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enabling the automation.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181287i1CA2A9EF924755A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="enabling the automation.png" alt="enabling the automation.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Verify the Automation's &lt;STRONG&gt;Run mode&lt;/STRONG&gt;&amp;nbsp;is set to &lt;STRONG&gt;Triggered&lt;/STRONG&gt;. If the Automation is set to a different mode (such as &lt;STRONG&gt;Manual&lt;/STRONG&gt;&amp;nbsp;or &lt;STRONG&gt;Scheduled&lt;/STRONG&gt;), the button will not be able to initiate it.&lt;BR /&gt;&lt;BR /&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open your Automation and select the&amp;nbsp;&lt;STRONG&gt;Start&amp;nbsp;&lt;/STRONG&gt;node&lt;/LI&gt;
&lt;LI&gt;In&amp;nbsp;&lt;STRONG&gt;Inputs&lt;/STRONG&gt;, verify&amp;nbsp;&lt;STRONG&gt;Run Mode&amp;nbsp;&lt;/STRONG&gt;to be set to&amp;nbsp;&lt;STRONG&gt;Triggered&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run mode set to triggered.png" style="width: 477px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181285i60F96DB969FEE921/image-dimensions/477x382?v=v2" width="477" height="382" role="button" title="run mode set to triggered.png" alt="run mode set to triggered.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;You are not authorized to run this automation&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This error can occur after re-enabling an automation and the execution token having changed.&lt;/P&gt;
&lt;P&gt;Follow these steps to re-establish the connection:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Navigate to the sheet where the button containing the automation execution action is located.&lt;/LI&gt;
&lt;LI&gt;Edit the sheet and locate the&amp;nbsp;&lt;STRONG&gt;Actions and navigation&amp;nbsp;&lt;/STRONG&gt;pane.&lt;/LI&gt;
&lt;LI&gt;Find the specific action configured to trigger the automation.&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;Automation&lt;/STRONG&gt;&amp;nbsp;section, remove the currently selected automation name.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="remove automation in actions and navigation pane.png" style="width: 352px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181282i055AF5F4812E8EBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="remove automation in actions and navigation pane.png" alt="remove automation in actions and navigation pane.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Edit sheet&lt;/STRONG&gt; to save this change. This signals the system that the automation link has been cleared.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Edit sheet&lt;/STRONG&gt;&amp;nbsp;and navigate back to the same &lt;STRONG&gt;Automation&lt;/STRONG&gt; action.&lt;/LI&gt;
&lt;LI&gt;Use the dropdown arrow in the &lt;STRONG&gt;Automation&lt;/STRONG&gt;&amp;nbsp;field to select the desired automation you want to be triggered.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Edit sheet&lt;/STRONG&gt;&amp;nbsp;to save the re-selected automation.&lt;/LI&gt;
&lt;LI&gt;Verify that the button now successfully executes the automation without errors.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;As a rule, only use the option to renew the token when strictly needed for security reasons.&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This is a known design limitation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renew execution token on enable.png" style="width: 608px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182188iA7F0518E6B342BDC/image-dimensions/608x352?v=v2" width="608" height="352" role="button" title="renew execution token on enable.png" alt="renew execution token on enable.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As specified in both the dialog and in the documentation (&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-managing-automations.htm#anchor-4" target="_blank" rel="noopener"&gt;source&lt;/A&gt;), “&lt;EM&gt;Renewing the execution token for the following automation(s) will immediately break any reference to the automation(s) through a trigger URL or Qlik Sense button object. This action cannot be undone.&lt;/EM&gt;”&lt;/P&gt;
&lt;P&gt;The purpose of introducing the option to renew the token was to harden the security of automations when it comes to webhooks. With this feature, administrators now have the option to break all current &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_QlikAutomation/working-with-automations/working-with-webhooks.htm" target="_blank" rel="noopener"&gt;webhook connections&lt;/A&gt; to an automation if they feel that security concerns require that.&lt;/P&gt;
&lt;P&gt;Since buttons also use the same execution tokens, they will also be affected.&lt;/P&gt;
&lt;P&gt;The option to renew the execution token should therefore only be used when strictly required by security concerns, e.g., if a token was exposed publicly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Cloud Analytics&lt;/LI&gt;
&lt;LI&gt;Qlik Automate&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 18 Jul 2025 10:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Cloud-Analytics-Button-executing-automation-errors-out-with/ta-p/2521013</guid>
      <dc:creator>tober</dc:creator>
      <dc:date>2025-07-18T10:24:31Z</dc:date>
    </item>
  </channel>
</rss>

