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.

- 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.
- Open your Automation and select the Start node
- In Inputs, verify Run Mode to be set to Triggered

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:
- Navigate to the sheet where the button containing the automation execution action is located.
- Edit the sheet and locate the Actions and navigation pane.
- Find the specific action configured to trigger the automation.
- In the Automation section, remove the currently selected automation name.

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