Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
netquest
Contributor
Contributor

Qlik Sense REST connector retry

Hi,

I am using Qlik REST Connector to make API calls to and endpoint and retrieve data. This endpoint randomnly crashes and I get an: QVX_UNEXPECTED_END_OF_DATA error.

I would like to know if it is possible to configure REST connector so that it retries up to a number of times in case of error.

Thank you.

3 Replies
netquest_oem
Partner - Contributor II
Partner - Contributor II

Hi,

I am also facing with the same problem... Is there any solution for this? Like a try/catch sentence?

Thanks.

marceljbaart
Partner - Contributor
Partner - Contributor

Hi,

Do you already have a solution for this? I am facing the same problem. A Retry will probably solve the issue.

Thanks

netquest_oem
Partner - Contributor II
Partner - Contributor II

Hi Marcel,

Yes, I found a way of dealing with this. Use the "ScriptErrorCount" variable for testing if there has been an error in conjunction with the "ErrorMode" for avoiding the script to stop on error:

Set ErrorMode=0;

DO WHILE ScriptErrorCount >= 1

          Set ScriptErrorCount=0;

          CALL YOUR_FUNCTION (params)

LOOP

Set ErrorMode=1;

Regards,