Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
SupriyaTapkir
Contributor
Contributor

Set params in tRestClient Component

Hi All,

I am working with tRestClient component for the very first time, I need to send certain parameters in the URL using POST Method of tRestClient component.

Below is the URL that I am trying to put in URL Section of the component.

"http://<URL>/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start&params={\"jobstatus\":\"Success\", \"xrefid\": \"2414\",\"markComplete\": \"Y\",\"performer\": \"

MyJob@ad.eisi.abc.com

\",\"response\":\"Successfull RPA process for 2414\",\"comment\": \"123456789\"}&createTask=false&parts=all"

However, I am getting below Error :

Exception in component tRESTClient_1 (ReadData_1)

javax.ws.rs.ProcessingException: java.io.IOException: java.net.URISyntaxException: Illegal character in query at index 112: http://<URL>/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start&params={"jobstatus":"Success", "xrefid": "2414","markComplete": "Y","performer": "MyJob@ad.eisi.abc.com","response":"Successfull RPA process for 2414","comment": "123456789"}&createTask=false&parts=all

at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:638)

at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:614)

at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1115)

at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1052)

at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)

at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)

at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:334)

at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:343)

at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.tRESTClient_1Process(ReadData_1.java:852)

at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.runJobInTOS(ReadData_1.java:3127)

at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.main(ReadData_1.java:2927)

Please note, this is { the character is at index 112.

Labels (3)
0 Replies