Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
if I attempt to delete a task I get this error
The task hasn't got anything in it. Once it was linked to a corrupted app.
I have tried to associated it to a working app. But the error is the same
Now if I open it
it is almost empty.
I am an administrator so I have all permissions.
What could I do to remove it?
Hi Aguirre,
If nothing else works, I would try to delete it through the QRS API's if possible. Use this guide to get started in connecting to the QRS API: Getting started | Qlik Sense for developers Help
When you are able to connect, you will need the following endpoint, and make a request in a tool such as Postman.
HTTP Method: DELETE
Endpoint: https://<your-qlik-sense-server>/<your virtual proxy>/qrs/reloadtask/<reload task id>?xrfKey=<xrfkey>
Where:
<your-qlik-sense-server> = The domain name of your Qlik Sense server
<your virtual proxy> = The virtual proxy (if any) you are using to connect to the QRS Api
<reload task id> = The ID of the Reload task in question. This can be found in the Tasks overview in the QMC, by including the 'ID' column of the tasks.
<xrfkey> = The XrfKey used in the request. Explained in the "Using Xrfkey Headers" section of the above linked guide to the QRS API.
I do three ways
1) Create one dummy app and associate this task to that and see if you able to remove the task after
2) Try to forcee delete in CLI
3) Try deleting in Postgre SQL.
thank you but even an API call gives : response:An error occurred while executing the command definition. See the inner exception for details.
Thanks, but method 1 and 2 don't work.
I won't try method 3 (just don't like DB commands).
Hello @aguirre
did you tries duplicating the apps and then deleting the one is linked to the task ?
Best,
Hello, @RafaelBarrios I deleted the app originally linked to the task. But no luck. I'll keep the task so, which works by the way. I just cannot remove it. I m,ighty reuse it for some other reload. Thanks
Hi @aguirre
it is strange, normally, when you delete an app using the QMC or hub, the tasks gets deleted automatically.
so, my guess is that you delete the app in the file system and not by the QMC.
Best,