<?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: Debugging a tRest component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510604#M141876</link>
    <description>&lt;P&gt;For debugging,&amp;nbsp; you can use a tJava instead of tRest to print the value of the two string that contains context variable, and see if it outputs the expected URL.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 06:43:47 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2025-03-19T06:43:47Z</dc:date>
    <item>
      <title>Debugging a tRest component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510486#M141872</link>
      <description>&lt;P&gt;Based on my original post about iterating through a list; how can I see what is being used in a tRest component?&lt;/P&gt;&lt;P&gt;Original Post: &lt;A href="https://community.qlik.com/t5/Design-and-Development/How-do-I-iterate-through-a-list/m-p/2509973" target="_blank"&gt;https://community.qlik.com/t5/Design-and-Development/How-do-I-iterate-through-a-list/m-p/2509973&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pthomas_0-1742302160271.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178728i87AEFD6C9F20BDD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pthomas_0-1742302160271.png" alt="pthomas_0-1742302160271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can pass "url" to the tRest component and save 3 files each based on the "genre" from the loop.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;genre = ((String)globalMap.get("genre"))&lt;BR /&gt;url = ((String)globalMap.get("url"))&lt;/P&gt;&lt;P&gt;But I am getting an error saying the url not valid. The url that I am trying to pass in is valid and verified. In the URL column in the tRest object, here are 2 values that both fail; the 2nd&amp;nbsp;makes the most sense to me.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;1)&amp;nbsp; "&lt;A href="https://api.nytimes.com/svc/books/v3/lists/current/" target="_blank"&gt;https://api.nytimes.com/svc/books/v3/lists/current/&lt;/A&gt;" + ((String)globalMap.get("genre")) + ".json?api-key=&amp;lt;--secret access key--&amp;gt;"&lt;BR /&gt;2)&amp;nbsp; ((String)globalMap.get("url"))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pthomas_1-1742302203053.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178729i11FA2E26CAB67724/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pthomas_1-1742302203053.png" alt="pthomas_1-1742302203053.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I see what is being passed into and out of the tRest object? I feel that, at this point, I need to troubleshoot the url that is being rendered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 12:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510486#M141872</guid>
      <dc:creator>pthomas</dc:creator>
      <dc:date>2025-03-18T12:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a tRest component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510604#M141876</link>
      <description>&lt;P&gt;For debugging,&amp;nbsp; you can use a tJava instead of tRest to print the value of the two string that contains context variable, and see if it outputs the expected URL.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 06:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510604#M141876</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2025-03-19T06:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a tRest component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510661#M141879</link>
      <description>&lt;P&gt;Thanks, I wound up using a tMsgBox.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Debugging-a-tRest-component/m-p/2510661#M141879</guid>
      <dc:creator>pthomas</dc:creator>
      <dc:date>2025-03-19T12:00:52Z</dc:date>
    </item>
  </channel>
</rss>

