<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exception in component tRESTClient_1 - javax.ws.rs.BadRequestException: HTTP 400 Bad Request in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312631#M83566</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Yes i did print out the full url and i was able to successfully make a request to the api url in postman. I can see the data as well.&amp;nbsp; My HTTP method is GET and Accept type is XML if i have to be more specific.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2019 16:49:55 GMT</pubDate>
    <dc:creator>desanip</dc:creator>
    <dc:date>2019-07-01T16:49:55Z</dc:date>
    <item>
      <title>Exception in component tRESTClient_1 - javax.ws.rs.BadRequestException: HTTP 400 Bad Request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312629#M83564</link>
      <description>&lt;P&gt;Hello Talendians,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a talend job which pulls data from an api and loads into SQL Server. I am constantly running into this error message for the last few days:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[FATAL]: SR_Reservation_Extract - tRunJob_1 Child job returns 1. It doesn't terminate normally.&lt;BR /&gt;Exception in component tRESTClient_1 (SR_Reservation_API_Child)&lt;BR /&gt;javax.ws.rs.BadRequestException: HTTP 400 Bad Request&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:507)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:902)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:863)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:426)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:609)&lt;BR /&gt;at tgtimdasevenrooms.sr_reservation_api_child_0_1.SR_Reservation_API_Child.tLoop_1Process(SR_Reservation_API_Child.java:3586)&lt;BR /&gt;at tgtimdasevenrooms.sr_reservation_api_child_0_1.SR_Reservation_API_Child.runJobInTOS(SR_Reservation_API_Child.java:10458)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I know this a client error and the the server is unable to process the request sent by the client ( Could be invalid syntax) . I tested the api url with query paramaters in POSTMAN and i am seeing the request as successful. It appears there is an issue with how i am making the request in talend job&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someone tell me how i can debug the issue? Any settings i need to change?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312629#M83564</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2024-11-16T05:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tRESTClient_1 - javax.ws.rs.BadRequestException: HTTP 400 Bad Request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312630#M83565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLrIAAW"&gt;@desanip&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please print the whole URL, that you are generating in Talend, and then use the full URL in postman/browser and check if you are hitting the correct API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 16:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312630#M83565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-01T16:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tRESTClient_1 - javax.ws.rs.BadRequestException: HTTP 400 Bad Request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312631#M83566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Yes i did print out the full url and i was able to successfully make a request to the api url in postman. I can see the data as well.&amp;nbsp; My HTTP method is GET and Accept type is XML if i have to be more specific.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 16:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312631#M83566</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-07-01T16:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tRESTClient_1 - javax.ws.rs.BadRequestException: HTTP 400 Bad Request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312632#M83567</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LLrIAAW"&gt;@desanip&lt;/A&gt;,
&lt;BR /&gt;did you solve this problem?
&lt;BR /&gt;
&lt;BR /&gt;thanks and regards</description>
      <pubDate>Tue, 31 Mar 2020 15:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tRESTClient-1-javax-ws-rs/m-p/2312632#M83567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-31T15:32:48Z</dc:date>
    </item>
  </channel>
</rss>

