<?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: Token error using tRest in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239729#M27445</link>
    <description>&lt;P&gt;Which API methods are you trying to use? If you look in the documentation (&lt;A href="https://developer.mailchimp.com/documentation/mailchimp/reference/overview/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.mailchimp.com/documentation/mailchimp/reference/overview/&lt;/A&gt;) it will show you which HTTP method you need to use. You cannot choose whether to use GET, POST, PUT, or DELETE, it will be decided by which API method you use. The API documentation also tells you what parameters are needed. These will change per API method as well.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 16:14:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-08T16:14:58Z</dc:date>
    <item>
      <title>Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239718#M27434</link>
      <description>&lt;P&gt;I'm trying to use Talend to extract data from Mailchimp.&amp;nbsp; I found some instructions out on Google that indicated I should use the tRest component.&amp;nbsp; I'm unfamiliar with the component and I'm not sure what I'm doing wrong.&amp;nbsp; I'm getting a token error.&amp;nbsp; See attached.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239718#M27434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-05T21:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239719#M27435</link>
      <description>&lt;P&gt;Here's a screenshot showing the parameters I put in also. &amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv5E"&gt;using trest on Talend.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239719#M27435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-05T21:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239720#M27436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLHcAAO"&gt;@gfred&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It looks like you have a compilation error. I would recommend connecting a tLogRow to your tRest component. You have also not configured your tRest component incorrectly. You have set the body as a header and you have used unescaped quotes in the String. This will be the cause of your compilation issues.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you post a link to the mailchimp API documentation that you are using as this might help us help you out.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You posted a screenshot with your API key in it. This is not advisable since it could give access to other people to your mailchimp account. I have therefore removed the image.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 00:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239720#M27436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-06T00:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239721#M27437</link>
      <description>&lt;P&gt;Here's a link to the article I was referring to.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 00:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239721#M27437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-06T00:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239722#M27438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLHcAAO"&gt;@gfred&lt;/A&gt;, I cannot see the link&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 21:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239722#M27438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-07T21:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239723#M27439</link>
      <description>&lt;P&gt;&lt;A href="https://intodata.eu/connecting-to-salesforce-and-mailchimp-using-talend/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://intodata.eu/connecting-to-salesforce-and-mailchimp-using-talend/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the link that you requested.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 14:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239723#M27439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T14:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239724#M27440</link>
      <description>&lt;P&gt;It looks like there are several things wrong here. First of all, the API method you are using is for creating a list in mailchimp. I don't think that is what you want to do. It is also a POST method, yet you are using GET. The "Body" header is not needed there. If you set the Http Method to POST, you will see a Body section appear. This is a Java String, so must be surrounded with quotes (.....if it contains quotes, they must be escaped). The example shown in the documentation you have given me is formatted to escape quotes...&lt;/P&gt; 
&lt;PRE&gt;“{\”apikey\”: \”your api key will be here\”,\”cid\”: \”put a campaign id here\”}”&lt;/PRE&gt; 
&lt;P&gt;The '\' characters are there to escape the following '"' characters.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you look at the MailChimp API documentation (&lt;A href="https://developer.mailchimp.com/documentation/mailchimp/reference/overview/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.mailchimp.com/documentation/mailchimp/reference/overview/&lt;/A&gt;)&amp;nbsp; you will see how the method calls should be built and what parameters are needed. To start with, you need to pick an API method&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239724#M27440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239725#M27441</link>
      <description>&lt;P&gt;I'm trying to understand what components I should be using from the Talend side and how to use them. &amp;nbsp; You are correct, I am trying to pull data from Mailchimp into Snowflake using Talend. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239725#M27441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239726#M27442</link>
      <description>&lt;P&gt;You first need to understand the MailChimp API and how to use it. You can test this out by using a tRest and tLogRow component. Once you have been able to extract the data you need from the MailChimp API, you will need to figure out how to extract it from JSON format. You can use a tExtractJsonFields component for that. Once you have got the data you want out of the JSON String, you will need to work out where you want it in Salesforce and how to get it there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you start with just trying to get the data out of MailChimp first.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239726#M27442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T15:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239727#M27443</link>
      <description>&lt;P&gt;That's what I'm trying to do.&amp;nbsp; But I'm confused.&amp;nbsp; If I'm trying to use the get HTTP method and the Body isn't necessary as you mentioned then where do I give the component the API key to use to pull the data with?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239727#M27443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T15:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239728#M27444</link>
      <description>&lt;P&gt;Additionally, when I try use the example that is given with my API key I get an error message that there is an invalid escape character sequence.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239728#M27444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T16:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239729#M27445</link>
      <description>&lt;P&gt;Which API methods are you trying to use? If you look in the documentation (&lt;A href="https://developer.mailchimp.com/documentation/mailchimp/reference/overview/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.mailchimp.com/documentation/mailchimp/reference/overview/&lt;/A&gt;) it will show you which HTTP method you need to use. You cannot choose whether to use GET, POST, PUT, or DELETE, it will be decided by which API method you use. The API documentation also tells you what parameters are needed. These will change per API method as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239729#M27445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239730#M27446</link>
      <description>&lt;P&gt;The invalid escape sequence was likely caused by the Body text you used in your screenshot. It was not formatted properly. First of all it was in a header field, not the Body. You will only get a body field if you use POST or PUT. Secondly, I believe the value was supplied without being surrounded in quotes.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239730#M27446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T16:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239731#M27447</link>
      <description>&lt;P&gt;BTW, I don't see the tExtractJSON component in Talend.&amp;nbsp; Is it not available for the component version?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 17:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239731#M27447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T17:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Token error using tRest in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239732#M27448</link>
      <description>&lt;P&gt;It is the tExtractJSONFields component that you need. It is included in both the open source edition and the paid for edition. Just click on the job canvass and start typing the name. You will see it.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 17:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Token-error-using-tRest-in-Talend/m-p/2239732#M27448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T17:47:05Z</dc:date>
    </item>
  </channel>
</rss>

