Qlik Community

Connectivity & Data Prep

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

Announcements
Read about the latest Qlik Community enhancements on the Community News blog!
cancel
Showing results for 
Search instead for 
Did you mean: 
a_leidenfrost
Contributor II
Contributor II

QvRestConnector - update connection string

Hi all,

I use the QvRestConnector to access an internal REST Api. My script was originally developed to work with QvRestConnector v1.0, but now I need to upgrade it to work with QvRestConnector v1.2+.
Apparently, there were breaking changes: additional properties are now required in the connection or you get an 'QVX_UNEXPECTED_END_OF_DATA: The connection format is obsolete' error.

Can someone please explain how I would need to change a connection string like this to comply with the requirements:

CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=http://mywebserver/api/myWebMethod;timeout=30;method=POST;autoDetectResponseType=false;keyGenerationStrategy=-1;useWindowsAuthentication=false;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;PaginationType=None;XUserId=userIdHash;XPassword=passwordHash;";

Thank you!

Labels (2)
1 Reply
Vu_Nguyen
Support (Former)
Support (Former)

Hi,

You should recreate the connection using the REST connector dialog and the connection string will be automatically generated for you.

In case this is not possible, below is a connection string generated by the latest REST connector (v 2.11)

CUSTOM CONNECT TO "Provider=QvRestConnector.exe;url=https://postman-echo.com/post;timeout=30;method=POST;requestBody=Test POST body;httpProtocol=1.1;isKeepAlive=1;bodyEncoding=UTF-8;sendExpect100Continue=1;autoDetectResponseType=1;checkResponseTypeOnTestConnection=1;keyGenerationStrategy=0;authSchema=anonymous;skipServerCertificateValidation=0;useCertificate=No;certificateStoreLocation=CurrentUser;certificateStoreName=My;addMissingQueryParametersToFinalRequest=0;PaginationType=None;allowResponseHeaders=0;allowHttpsOnly=0;XUserId=WHGXecB;XPassword=NFHQWYA;";

REST.png

Hope this helps.

Vu Nguyen
If a post helps resolve your issue, please mark the answer as correct.