Qlik Community

Ask a Question

Connectivity & Data Prep

Discussion board where members can learn more about Qlik Sense Data Connectivity.

Announcements
Join us for a live Q&A! September 21, 10 AM ET - Onboarding Fast in Qlik Sense SaaS! REGISTER
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
Partner

Hi,

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

Thanks.

marceljbaart
Contributor
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
Partner

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,