<?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: Iterate tRestClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246300#M31865</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMbuAAG"&gt;@lennelei&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried that and get the same issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My 2 tLogRow outputs at the end are both null.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's very odd.&amp;nbsp; If I deactivate &lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt; , &lt;STRONG&gt;tMap_1&lt;/STRONG&gt; and&lt;STRONG&gt; tLogRow_2&lt;/STRONG&gt; and instead just tLogRow the Response from&lt;STRONG&gt; tRESTClient_1&lt;/STRONG&gt;, the data coming back is exactly correct.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - LogRow direct.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Tt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130003i2863B2A1A70FB9AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Tt.png" alt="0683p000009M7Tt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So in the &lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt; component I'm trying to read the "&lt;STRONG&gt;string&lt;/STRONG&gt;" column, and extract the "&lt;STRONG&gt;id&lt;/STRONG&gt;" and "&lt;STRONG&gt;entity_name&lt;/STRONG&gt;" values into columns, then tMap them out to the &lt;STRONG&gt;tLogRow_2&lt;/STRONG&gt; (I will eventually be looking to output these to a CSV file for use elsewhere, but at the moment I just want to know I can extract the correct data).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is the configuration of the&amp;nbsp;&lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt; component&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tExtraxtJSONFields2.png" style="width: 909px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6td.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156191i8B1533D726CD4252/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6td.png" alt="0683p000009M6td.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I'm really stuck on this one&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 14:19:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-08T14:19:24Z</dc:date>
    <item>
      <title>Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246293#M31858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I spotted another similar topic, but the advice in there didn't seem to work.&amp;nbsp; I'm therefore posting my particular issue.&lt;/P&gt; 
&lt;P&gt;I am VERY new to Talend and have only being using it a few weeks, so please be patient &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have first used a tRESTClient to retrieve a list of IDs from an API call.&lt;/P&gt; 
&lt;P&gt;I now need to feed those IDs, one by one into another tREST call to retrieve some additional information.&lt;/P&gt; 
&lt;P&gt;I am storing the response from the first tREST call in a tHashOuput, and adding an unique URL relative path as a column called url&lt;/P&gt; 
&lt;P&gt;e.g.&lt;/P&gt; 
&lt;P&gt;If I tLogRow the first tREST call subjob, this is how it looks&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;|---------+------------------------|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;|entity_id|url&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;|=--------+------------------------|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;|1234&amp;nbsp; &amp;nbsp; &amp;nbsp;|/apiresource/users/1234 |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;|1235&amp;nbsp; &amp;nbsp; &amp;nbsp;|/apiresource/users/1235 |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;|---------+------------------------|&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I now need to do is iterate through these rows, one-by-one, making a tREST call.&lt;/P&gt; 
&lt;P&gt;So I link my tHashOutput to a tHashInput to get the data back.&amp;nbsp; I then do this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tHashInput&amp;nbsp; &amp;gt;&amp;gt;row7&amp;gt;&amp;gt; tFlowToIterate &amp;gt;&amp;gt;Iterate&amp;gt;&amp;gt; &amp;gt;&amp;gt;OnComponentOk&amp;gt;&amp;gt; tRESTClient &amp;gt;&amp;gt;row(Response)&amp;gt;&amp;gt; tExtractJSONFields &amp;gt;&amp;gt;tMap&amp;gt;&amp;gt; tLogRow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;At the end I'm getting TWO tLog rows, both showing TWO rows with null in both output columns&lt;/P&gt; 
&lt;P&gt;This is my tRESTClient&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST_Issue.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6jM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138070i55B736BF10DA9FA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6jM.png" alt="0683p000009M6jM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This is the final output of this job.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;Starting job UserMappingTest_2 at 17:04 23/07/2019.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;[statistics] connecting to socket on port 3583&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;[statistics] connected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;.--+-----------.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;| tLogRow_2 |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|=-+----------=|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|id|entity_name|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|=-+----------=|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|null|null |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|null|null |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;'--+-----------'&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;.--+-----------.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;| tLogRow_2 |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|=-+----------=|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|id|entity_name|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|=-+----------=|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|null|null |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;|null|null |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;'--+-----------'&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;[statistics] disconnected&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;Job UserMappingTest_2 ended at 17:05 23/07/2019. [exit code=0]&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What am I doing wrong?&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Steve&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246293#M31858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246294#M31859</link>
      <description>&lt;P&gt;I am still struggling with this.&amp;nbsp; Does anybody have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 14:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246294#M31859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T14:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246295#M31860</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to your screenshot and logs, it seems that either you send the wrong data to the tRestClient or your misconfigured the tExtractJSONFields.&lt;/P&gt;&lt;P&gt;You have two tLogRow_2 outputs which is correct as you have two iteration over two inputs row from your first api call.&lt;/P&gt;&lt;P&gt;In each tLogRow_2, you have two rows which may be correct or not depending on the result of the api call and the json parsing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would try one of those :&lt;/P&gt;&lt;P&gt;1) output the values of the tFlowToIterate in the tJava_1 for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;System.out.println("url="+row7.url);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) add a tLogRow right after the tRestClient_1 in order to check the returned values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) eventually check what is done by the second line of your screenshot (the tHashInput &amp;gt; tMap &amp;gt; tHashOutput)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may share the output of the tRestClient_1 and your json parsing as I presume this is where the issue is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 08:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246295#M31860</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-08-08T08:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246296#M31861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMbuAAG"&gt;@lennelei&lt;/A&gt;&amp;nbsp;, many thanks for your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have slightly re-configured the job now.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - Job.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7TK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153309iA398E41351D6D7AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7TK.png" alt="0683p000009M7TK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The first part of the job is working absolutely fine. It is making an API call via &lt;STRONG&gt;tRESTClient_3&lt;/STRONG&gt;, extracting the data via a &lt;STRONG&gt;tExtraxtJSONFields_1&lt;/STRONG&gt; and feeding this data into a &lt;STRONG&gt;tHashOutput_1&lt;/STRONG&gt; component ready to be used in the second part of the job. This &lt;STRONG&gt;tLogRow_3&lt;/STRONG&gt; output showing what is in the hash is as below.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tHashOutput_1.png" style="width: 402px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7S3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132433iF4AAF3609069E9BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7S3.png" alt="0683p000009M7S3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The "url" column is the relative path I with to use in the second tRESTClient component ( &lt;STRONG&gt;tRESTClient_1&lt;/STRONG&gt; ) &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I wish to process these rows each in turn through the tRESTClient component.&amp;nbsp; So I feed this data from the &lt;STRONG&gt;tHashOuput_1&lt;/STRONG&gt; into the next part of the job by the &lt;STRONG&gt;tHashInput_2&lt;/STRONG&gt; component.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tHashInput.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M75L.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137019i3E11538A47576646/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M75L.png" alt="0683p000009M75L.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I added the bit of java to the tJava_1 component as you suggested and the output to the console was as below:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;url=/resourceful/entity/user-v2/6070&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;This is the first record in the data, so assume that's correct.&amp;nbsp; I therefore do not know why the tRESTClient component is reporting "path is null"?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have attached some other pictures below showing the various component setups.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;tFlowToIterate_1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tFlowToIterate.png" style="width: 838px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7GN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145813i9AE277B5D35B831F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7GN.png" alt="0683p000009M7GN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;tRESTClient_1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tRESTClient.png" style="width: 867px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7TP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138554i6F1C0D3B6C832810/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7TP.png" alt="0683p000009M7TP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tExtraxtJSONFields.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7TZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149561iF5784CC9B98530E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7TZ.png" alt="0683p000009M7TZ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have another job, created by a Talend Consultant, which uses this same method and it works perfectly fine, so I don't understand what I have done wrong here as I have essentially copied the other job and just changed a few components.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I run the job now, this is the error I am getting.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;Exception in component tRESTClient_1 (UserMappingTest_5)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;java.lang.IllegalArgumentException: path is null&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at org.apache.cxf.jaxrs.impl.UriBuilderImpl.doPath(UriBuilderImpl.java:517)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at org.apache.cxf.jaxrs.impl.UriBuilderImpl.path(UriBuilderImpl.java:512)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at org.apache.cxf.jaxrs.client.WebClient.path(WebClient.java:641)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.tRESTClient_1Process(UserMappingTest_5.java:5118)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.tHashInput_2Process(UserMappingTest_5.java:3967)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.tRESTClient_3Process(UserMappingTest_5.java:3388)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.tFileExcelWorkbookOpen_1Process(UserMappingTest_5.java:1033)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.tDBConnection_1Process(UserMappingTest_5.java:882)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.tPrejob_1Process(UserMappingTest_5.java:5922)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.runJobInTOS(UserMappingTest_5.java:6307)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#FF0000"&gt;at ukdm_talendtestproj.usermappingtest_5_0_1.UserMappingTest_5.main(UserMappingTest_5.java:6009)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The error is with the tRESTClient_1 component, as adding a tLogRow directly after the tRESTClient doesn't change the result, the same error occurs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry if I sound dumb, but I'm very new to Talend. I've only been using it a few weeks.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 09:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246296#M31861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-08T09:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246297#M31862</link>
      <description>&lt;P&gt;I have now also gone back to my original configuration of the job, and added a tLogRow directly after the tRESTClient.&amp;nbsp; These are the results.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It looks promising.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - Job V3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7NK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132573i114CED55DB6024C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7NK.png" alt="0683p000009M7NK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm getting a tlogrow for each of the two records in the tHashInput so it is definitely responding with the correct data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, I soon as I re-introduce the tExtraxtJSONFields_1 component and attempt to output the data to a tLogRow, I get the NULLs again&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here's the output&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - Job V3 - Results.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Fy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147900iA1C8D91606EE9621/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Fy.png" alt="0683p000009M7Fy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And here's the tExtractJSONFields component setup.&amp;nbsp; I am trying to extract the "id" and "entity_name" fields from the tREST response (the "string" column from the tLogRow_3 in the first screenshot above)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - Job V3 - tExtractJSON.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M77H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145241iDD5FE3917F9E930A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M77H.png" alt="0683p000009M77H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 11:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246297#M31862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-08T11:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246298#M31863</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didnt' read your last 2 posts entirely but I did spot a small mistake:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In one of your tFlowToIterate screenshot, you have unticked the "use default (key, value..." checkbox and used "url" as key for url values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This means that the global var will be referenced by "url" and not "row7.url" as it would be with the checkbox ticked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your tRestClient, you have to use &lt;STRONG&gt;(String)globalMap.get("url")&lt;/STRONG&gt; and not&amp;nbsp;&lt;STRONG&gt;(String)globalMap.get("row7.url")&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Could you check that (and also check you have the same value in the tJava System.out.println)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In doubt, use autocompletion to retrieve the correct url global variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 13:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246298#M31863</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-08-08T13:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246299#M31864</link>
      <description>&lt;P&gt;Now I've read the second post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to configure the "Loop Json Path query" in your tExtractJSONFields simply to the value &lt;STRONG&gt;"$"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your input data has no arrays: you don't need a "*"&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246299#M31864</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-08-08T14:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246300#M31865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMbuAAG"&gt;@lennelei&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried that and get the same issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My 2 tLogRow outputs at the end are both null.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's very odd.&amp;nbsp; If I deactivate &lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt; , &lt;STRONG&gt;tMap_1&lt;/STRONG&gt; and&lt;STRONG&gt; tLogRow_2&lt;/STRONG&gt; and instead just tLogRow the Response from&lt;STRONG&gt; tRESTClient_1&lt;/STRONG&gt;, the data coming back is exactly correct.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - LogRow direct.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Tt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130003i2863B2A1A70FB9AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Tt.png" alt="0683p000009M7Tt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So in the &lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt; component I'm trying to read the "&lt;STRONG&gt;string&lt;/STRONG&gt;" column, and extract the "&lt;STRONG&gt;id&lt;/STRONG&gt;" and "&lt;STRONG&gt;entity_name&lt;/STRONG&gt;" values into columns, then tMap them out to the &lt;STRONG&gt;tLogRow_2&lt;/STRONG&gt; (I will eventually be looking to output these to a CSV file for use elsewhere, but at the moment I just want to know I can extract the correct data).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is the configuration of the&amp;nbsp;&lt;STRONG&gt;tExtractJSONFields_1&lt;/STRONG&gt; component&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tREST - tExtraxtJSONFields2.png" style="width: 909px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6td.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156191i8B1533D726CD4252/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6td.png" alt="0683p000009M6td.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I'm really stuck on this one&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246300#M31865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-08T14:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246301#M31866</link>
      <description>&lt;P&gt;I did made a second post: replace your json loop with simple &lt;STRONG&gt;"$"&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246301#M31866</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-08-08T14:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246302#M31867</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMbuAAG"&gt;@lennelei&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just seen your response (coincided with my response).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're a legend!!!! That's worked.&amp;nbsp; Many thanks for your help&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246302#M31867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-08T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246303#M31868</link>
      <description>&lt;P&gt;Happy to help you!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-tRestClient/m-p/2246303#M31868</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-08-08T14:29:01Z</dc:date>
    </item>
  </channel>
</rss>

