Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello ,
I am getting the below error when i try to call an API service.
statistics] connected
[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://reqres.in/api/users/2}tRESTClient has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:67)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:710)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1050)
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(WebCl
This is the key line:
java.net.UnknownHostException: UnknownHostException invoking http://reqres.in/api/users/2
Can you get to the reqres.in host from your network?
Good evening
Please I would like to know if there is any solution concerning this issue because I am facing a similar problem in Talend studio
Thanks for your respond
I am able to acess the host from potsman. I can test my API sucessfully in postman
Thanks for your respond
Hello @gildas15
Please post your full error message with tREST API Client and also from the job side, enable "Log messages" from tRESTClient's "Advanced settings".
Best regards
Sabrina
Hello,
Kindly find bellow as attached file the full error message