<?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 Facing issue while using tRestClient Component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299398#M71746</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying posting a JSON through tRestClient component. Below are the parameters which i have set in component settings:&lt;/P&gt;&lt;P&gt;HTTP Method: POST, Content Type: JSON,  Accept Type: Any&lt;/P&gt;&lt;P&gt;Input Schema: Repository (Json metadata)&lt;/P&gt;&lt;P&gt;Request is based upon Bearer Token so selected OAuth2 Bearer and provided the token value.&lt;/P&gt;&lt;P&gt;Did not give any query parameter and HTTP Headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talend version - 8.0.1&lt;/P&gt;&lt;P&gt;java - zulu 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Please help!&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Error as below:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Starting job API_testing at 12:47 29/04/2022.&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3452&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;[WARN ] 12:47:08 org.apache.cxf.transport.http.HTTPConduit- WWW-Authenticate response header is not set&lt;/P&gt;&lt;P&gt;Exception in component tRESTClient_1 (API_testing)&lt;/P&gt;&lt;P&gt;javax.ws.rs.WebApplicationException: HTTP 401 Unauthorized&lt;/P&gt;&lt;P&gt;	at pim_integration.api_testing_0_1.API_testing.tFileInputJSON_1Process(API_testing.java:2492)&lt;/P&gt;&lt;P&gt;	at pim_integration.api_testing_0_1.API_testing.runJobInTOS(API_testing.java:3286)&lt;/P&gt;&lt;P&gt;	at pim_integration.api_testing_0_1.API_testing.main(API_testing.java:3048)&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job API_testing ended at 12:47 29/04/2022. [Exit code&amp;nbsp;= 1]&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:58:33 GMT</pubDate>
    <dc:creator>SSharma1993</dc:creator>
    <dc:date>2024-11-15T22:58:33Z</dc:date>
    <item>
      <title>Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299398#M71746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying posting a JSON through tRestClient component. Below are the parameters which i have set in component settings:&lt;/P&gt;&lt;P&gt;HTTP Method: POST, Content Type: JSON,  Accept Type: Any&lt;/P&gt;&lt;P&gt;Input Schema: Repository (Json metadata)&lt;/P&gt;&lt;P&gt;Request is based upon Bearer Token so selected OAuth2 Bearer and provided the token value.&lt;/P&gt;&lt;P&gt;Did not give any query parameter and HTTP Headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talend version - 8.0.1&lt;/P&gt;&lt;P&gt;java - zulu 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Please help!&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Error as below:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Starting job API_testing at 12:47 29/04/2022.&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3452&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;[WARN ] 12:47:08 org.apache.cxf.transport.http.HTTPConduit- WWW-Authenticate response header is not set&lt;/P&gt;&lt;P&gt;Exception in component tRESTClient_1 (API_testing)&lt;/P&gt;&lt;P&gt;javax.ws.rs.WebApplicationException: HTTP 401 Unauthorized&lt;/P&gt;&lt;P&gt;	at pim_integration.api_testing_0_1.API_testing.tFileInputJSON_1Process(API_testing.java:2492)&lt;/P&gt;&lt;P&gt;	at pim_integration.api_testing_0_1.API_testing.runJobInTOS(API_testing.java:3286)&lt;/P&gt;&lt;P&gt;	at pim_integration.api_testing_0_1.API_testing.main(API_testing.java:3048)&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job API_testing ended at 12:47 29/04/2022. [Exit code&amp;nbsp;= 1]&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299398#M71746</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2024-11-15T22:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299399#M71747</link>
      <description>&lt;P&gt;Hi, you can try to set no auth and add a header named "Authorization"&lt;/P&gt;&lt;P&gt;with value : "bearer yourtokenhere".&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;Header name :&lt;/P&gt;&lt;P&gt;"Authorization"&lt;/P&gt;&lt;P&gt;Header value :&lt;/P&gt;&lt;P&gt;"bearer 1456465456121545d54"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 08:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299399#M71747</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-04-29T08:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299400#M71748</link>
      <description>&lt;P&gt;Thankyou for the response!&lt;/P&gt;&lt;P&gt;I tried that and now it gives there is an issue with JSON file. However when I validate it in JSON viewers, it seems to be correct.&lt;/P&gt;&lt;P&gt;Below is the job output and JSON format I am using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tLogRow_3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;/P&gt;&lt;P&gt;|=--------+-----------------------------------------------------=|&lt;/P&gt;&lt;P&gt;|errorCode|errorMessage&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;/P&gt;&lt;P&gt;|=--------+-----------------------------------------------------=|&lt;/P&gt;&lt;P&gt;|400&amp;nbsp;&amp;nbsp;&amp;nbsp;|{"code":400,"message":"Invalid json message received"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;"identifier": "123",&lt;/P&gt;&lt;P&gt;&amp;nbsp;"enabled": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;"family": "AC",&lt;/P&gt;&lt;P&gt;&amp;nbsp;"categories": [],&lt;/P&gt;&lt;P&gt;&amp;nbsp;"groups": [],&lt;/P&gt;&lt;P&gt;&amp;nbsp;"parent": null,&lt;/P&gt;&lt;P&gt;&amp;nbsp;"values": {}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 09:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299400#M71748</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2022-04-29T09:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299401#M71749</link>
      <description>&lt;P&gt;I think you need to check what JSON message format is expected by API, try this JSON string with other client tool such as Postman.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 09:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299401#M71749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-29T09:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299402#M71750</link>
      <description>&lt;P&gt;The same JSON is working on Postman &lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 09:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299402#M71750</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2022-04-29T09:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299403#M71751</link>
      <description>&lt;P&gt;This is how I am using the JSON metadata in tRestClient component. PFB the snips.&lt;/P&gt;&lt;P&gt;Please help!&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000QFO59AAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129623i04B4B1F6D0FFD162/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000QFO59AAH.png" alt="0695b00000QFO59AAH.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000QFO5EAAX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154118iB059418E5D73E1E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000QFO5EAAX.png" alt="0695b00000QFO5EAAX.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 10:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299403#M71751</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2022-04-29T10:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299404#M71752</link>
      <description>&lt;P&gt;you have to use a tWriteJsonField with one column output named string to the tRestCLient&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/7.3/processing/tsplitrow-tfixedflowinput-tlogrow-tlogrow-procedure-standard-component-drop&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299404#M71752</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-04-29T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299405#M71753</link>
      <description>&lt;P&gt;I already did that steps present in this link. PFB the request posted in community:&lt;/P&gt;&lt;P&gt;https://community.talend.com/s/feed/0D55b00007Db54DCAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivam&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299405#M71753</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2022-04-29T12:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299406#M71754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please send me a link or doc to refer for giving JSON as context variable or input parameter to tRest component instead of hardcoding it in HTTP Body.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299406#M71754</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2022-04-29T12:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299407#M71755</link>
      <description>&lt;P&gt;you just have to connect the tWriteJSONFields component to the tRestClient component with a main link and in the tWriteJsonFields you just have one field in the Output named string of type String.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299407#M71755</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-04-29T12:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue while using tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299408#M71756</link>
      <description>&lt;P&gt;So, as my tWriteJSONField component is not giving desired results. I will try reinstalling Talend and then try to access it using jdk 11&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Facing-issue-while-using-tRestClient-Component/m-p/2299408#M71756</guid>
      <dc:creator>SSharma1993</dc:creator>
      <dc:date>2022-04-29T13:02:28Z</dc:date>
    </item>
  </channel>
</rss>

