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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
rgranado
Contributor III
Contributor III

tREST works but not tRESTClient

I am trying to create a job to make an API call.  With tREST, it works but it does not work in tRESTClient component.  It is just a simple call but I am sure it is just some settings I am missing.

 

The error I am getting:

xception in component tRESTClient_1 (RESTAPI)
javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:507)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:902)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:863)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:426)
at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:456)
at pilotproject.restapi_0_1.RESTAPI.tRESTClient_1Process(RESTAPI.java:873)
at pilotproject.restapi_0_1.RESTAPI.runJobInTOS(RESTAPI.java:1323)
at pilotproject.restapi_0_1.RESTAPI.main(RESTAPI.java:1142)

 

Please see attachments.

Labels (4)
1 Reply
Anonymous
Not applicable

Hello,

The 500 error occurs if you post a straight URL with no parameter.

Best regards

Sabrina