Qlik Community

Qlik Sense Data Connectivity

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

netquest
New 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
New Contributor

Re: Qlik Sense REST connector retry

Hi,

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

Thanks.

marceljbaart
New Contributor

Re: Qlik Sense REST connector retry

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
New Contributor

Re: Qlik Sense REST connector retry

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,

Community Browser