<?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: Email Event API fails in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/363338#M35768</link>
    <description>&lt;P&gt;Hi Wendy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;I think I found the problem meanwhile. I get always a 502 status from my failed requests and I found some posts about 5xx error messages here in the community, e.g.&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/502-Bad-Gateway-errors/td-p/275949" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/502-Bad-Gateway-errors/td-p/275949 .&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I built another loop in my workflow to re-try the failed request and until now everything works fine even though this is not best practice...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 08:35:40 GMT</pubDate>
    <dc:creator>Frapsi</dc:creator>
    <dc:date>2020-08-20T08:35:40Z</dc:date>
    <item>
      <title>Email Event API fails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/362787#M35716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get all email events for a list of certain campaigns using the Email Event API. I am using KNIME Analytics Platform to perform the requests within a loop which requests for each campaign id in the given list get requests and uses the offset parameter to page through all events.&lt;/P&gt;&lt;P&gt;At some point the get request fails.&amp;nbsp;When I reset the loop and execute it again it fails at a different point, so it doesn't seem to be a specific event/campaign id that causes the problem.&lt;/P&gt;&lt;P&gt;I already thought about rate limits and therefore increased the waiting time between requests up to 2 seconds. Didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what might be causing this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 13:57:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/362787#M35716</guid>
      <dc:creator>Frapsi</dc:creator>
      <dc:date>2020-08-18T13:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Email Event API fails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/363318#M35760</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/142220"&gt;@Frapsi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order for me to further troubleshooting this, could you share the following with me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Portal ID&lt;/P&gt;
&lt;P&gt;2. The exact request url&lt;/P&gt;
&lt;P&gt;3. The full error message&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 07:37:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/363318#M35760</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-08-20T07:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Email Event API fails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/363338#M35768</link>
      <description>&lt;P&gt;Hi Wendy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;I think I found the problem meanwhile. I get always a 502 status from my failed requests and I found some posts about 5xx error messages here in the community, e.g.&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/502-Bad-Gateway-errors/td-p/275949" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/502-Bad-Gateway-errors/td-p/275949 .&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I built another loop in my workflow to re-try the failed request and until now everything works fine even though this is not best practice...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:35:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Email-Event-API-fails/m-p/363338#M35768</guid>
      <dc:creator>Frapsi</dc:creator>
      <dc:date>2020-08-20T08:35:40Z</dc:date>
    </item>
  </channel>
</rss>

