Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Community Office Hours: Join us on July 9th, 2025 - REGISTER HERE!

Qlik Cloud Analytics: Button executing automation errors out with Bad Request or You are not authorized to run this automation

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
tober
Support
Support

Qlik Cloud Analytics: Button executing automation errors out with Bad Request or You are not authorized to run this automation

Last Update:

Jun 12, 2025 9:03:48 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 12, 2025 9:18:57 AM

Pressing a button that executes an Automation fails with:

Bad request

An additional error may be shown:

You are not authorized to run this automation

These errors are typically seen after changing the Automation's owner. 

 

Resolution

Bad request

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.

To resolve this:

  • Ensure the Automation has its status set to Enabled (A)

    If it is set to Disabled, click the Actions (...) menu (B) to enable it.

    enabling the automation.png

  • Verify the Automation's Run mode is set to Triggered. If the Automation is set to a different mode (such as Manual or Scheduled), the button will not be able to initiate it.

    1. Open your Automation and select the Start node
    2. In Inputs, verify Run Mode to be set to Triggered

      run mode set to triggered.png


You are not authorized to run this automation

This error can occur after re-enabling an automation and the execution token having changed.

Follow these steps to re-establish the connection:

  1. Navigate to the sheet where the button containing the automation execution action is located.
  2. Edit the sheet and locate the Actions and navigation pane.
  3. Find the specific action configured to trigger the automation.
  4. In the Automation section, remove the currently selected automation name.

    remove automation in actions and navigation pane.png

  5. Click Edit sheet to save this change. This signals the system that the automation link has been cleared.
  6. Click Edit sheet and navigate back to the same Automation action.
  7. Use the dropdown arrow in the Automation field to select the desired automation you want to be triggered.
  8. Click Edit sheet to save the re-selected automation.
  9. Verify that the button now successfully executes the automation without errors.

 

Environment

  • Qlik Cloud Analytics
  • Qlik Automate
Labels (1)
Version history
Last update:
4 weeks ago
Updated by: