Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
See why Qlik is recognized as a Leader for the 10th year in a row – and discover how Qlik can help put your business in the lead. Get Report
Highlighted
HardikNaidu
New Contributor II

QlikSenseTask.exe Issue

Hello Guys,
We had earlier used a .bat file to execute Qlik Reload tasks from external too(ControlM), using the below links.

https://developer.qlik.com/garden/56f2e998f1c173fc24afe6ec?_ga=2.78670995.648439966.1575276136-16087...

https://github.com/eapowertools/QlikSenseTask

This was working fine, until the last month, but all of sudden it started to fail with the below error. please could you help us, for the reason for the below error and any possibility to troubleshoot further.

2019_11_29_09_20_21,Information,"Task: Ext_Audit"

2019_11_29_09_20_21,Information,"Proxy: https://XXXXXXXXX"

2019_11_29_09_20_21,Information,"Wait: 60000 seconds"

2019_11_29_09_20_22,Information,"Task is starting..."

2019_11_29_09_20_22,Error,"System.Exception: Forbidden: Forbidden

   at QlikSenseJSONObjects.QlikSenseJSONHelper.StartTaskByName(String taskname, Boolean synchronous)

   at QlikSenseTask.Program.Main(String[] args)"

2019_11_29_09_20_22,Information,"Returning Errorlevel 8"



Cheers

 

Labels (1)
5 Replies
Highlighted
Partner
Partner

Re: QlikSenseTask.exe Issue

Good evening @HardikNaidu ,

I believe we need more info...
Did something happen last month?
Did you rename the task on QS? Did you upgrade QV and/or QS? Did something on the network side happen?
Did you change QV's service user (which is the one that actually triggers the task, in the base version)? Did you change the role of QV's service user on QS or the visibility of the task on QS for said user?

Riccardo

Highlighted
HardikNaidu
New Contributor II

Re: QlikSenseTask.exe Issue

Hi Riccardo,
Many thanks for your response.

No we didn't change anything from the network,task name or the service credentials(or the roles of the user).

The only change was the upgradation of the Qlik , to the "Qliksense September 2019 Patch 1 - 13.42.1" version.

CHeers

Highlighted
Partner
Partner

Re: QlikSenseTask.exe Issue

Got a similar issue after upgrading to September 2019, ¿did you found any solution?

Highlighted
Partner
Partner

Re: QlikSenseTask.exe Issue

I'm in the same exact situation. Using control-m to run qlik sense task .bat files.

Running the bat works manually but when trying to execute with control-m I get the following error:

2020_02_19_17_53_26,Information,"Task is starting..."
2020_02_19_17_53_27,Error,"System.Exception: Bad Request: "TASKNAME"
at QlikSenseJSONObjects.QlikSenseJSONHelper.StartTaskByName(String taskname, Boolean synchronous)
at QlikSenseTask.Program.Main(String[] args)"
2020_02_19_17_53_27,Information,"Returning Errorlevel 8"

 

Did you figure out a solution to this?

Highlighted
HardikNaidu
New Contributor II

Re: QlikSenseTask.exe Issue

Hello Guys,

Did not find a fix yet on this. Issue seems to be on the Qlik side and we are still trying for a fix or workaround.