Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We are experiencing a recurring error when executing a Qlik Automation via its execution endpoint. This was working previously and has recently started failing.
Error message received:
{
"message": "The POST method is not supported for route v1/automations/{automation-id}/actions/execute/{appId}?...
Supported methods: GET, HEAD."
}
Example Automation IDs affected:
6499c600-4607-11ee-bela-01df9a62e1479f93489-e286-4a4-87b8-a89abebble74Details:
v1/automations/{automation-id}/actions/execute/{appId}, which is the standard method for triggering an automation from an external application/webform.Questions:
actions/execute route?This should be resolved - please open a support case if this continues. Thanks!
Hi @ArtiP11 ,
Your endpoint does not look right. The execute via POST endpoint has this structure:
curl 'https://{tenant}.{region}.qlikcloud.com/api/v1/automations/{automation_id}/actions/execute' \
-XPOST \
-H 'X-Execution-Token: {execution_token}'
Make sure your Start block Run Mode is set to Triggered and verify the CURL command, it should look like the screen shot below:
Be aware the Automation endpoint above is legacy and will be replaced with the new endpoints. You can give a try to this one here: https://qlik.dev/apis/rest/workflows/automations/#post-api-workflows-automations-id-runs
Regards,
Mark Costa
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com