Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
aguirre
Creator
Creator

Cannot delete task

Hello,

if I attempt to delete a task I get this error

 

cannot remove task.png

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 cannot remove task2.png

it is almost empty.

I am an administrator so I have all permissions.

What could I do to remove it?

 

Labels (1)
  • QMC

7 Replies
PythonMCSJ
Partner - Contributor III
Partner - Contributor III

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.

 

Anil_Babu_Samineni

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. 

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
aguirre
Creator
Creator
Author

thank you but even an API call gives : response:An error occurred while executing the command definition. See the inner exception for details.

aguirre
Creator
Creator
Author

Thanks, but  method 1 and 2 don't work.

I won't try method 3 (just don't like DB commands). 

RafaelBarrios
Partner - Specialist
Partner - Specialist

Hello @aguirre 

did you tries duplicating the apps and then deleting the one is linked to the task ?

 

Best,

aguirre
Creator
Creator
Author

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

RafaelBarrios
Partner - Specialist
Partner - Specialist

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,