<?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: Internal server errors when using the audit logs API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Internal-server-errors-when-using-the-audit-logs-API/m-p/1029200#M75949</link>
    <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/805895"&gt;@dna59&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thank you for your feedback. If you have a moment, adding your suggestion to the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank"&gt;Ideas Community&lt;/A&gt; and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. Additionally, if you have a paid subscription, I suggest sharing this with your CSM or CSM-team as a potential roadblock in your ongoing usage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 20:23:49 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2024-08-19T20:23:49Z</dc:date>
    <item>
      <title>Internal server errors when using the audit logs API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Internal-server-errors-when-using-the-audit-logs-API/m-p/1028143#M75905</link>
      <description>&lt;P&gt;Hi! Enjoying the HubSpot API!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But unfortunately, I ran into a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a process scheduled for the beginning of each hour that collects audit logs for the passed hour through the API endpoint &lt;A href="https://developers.hubspot.com/docs/api/settings/account-activity-api" target="_blank" rel="noopener"&gt;`/account-info/v3/activity/audit-logs`&lt;/A&gt;. Recently, processes started to fail. I noticed that a single &lt;EM&gt;second&lt;/EM&gt; can contain hundreds of thousands of log entries. Due to the API's limit of 100 log entries per request, an iteration using the cursor may take more than an hour; and eventually the iteration may fail with an "internal server error". Retries don't help, because the same error is returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose there are a lot of log entries because a single action in the UI can result in thousands of actions logged in audit logs. I kindly ask you to either increase the limit of the log entries per API request, or compress the entries generated by UI actions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 13:23:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Internal-server-errors-when-using-the-audit-logs-API/m-p/1028143#M75905</guid>
      <dc:creator>dna59</dc:creator>
      <dc:date>2024-08-16T13:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal server errors when using the audit logs API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Internal-server-errors-when-using-the-audit-logs-API/m-p/1029200#M75949</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/805895"&gt;@dna59&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thank you for your feedback. If you have a moment, adding your suggestion to the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank"&gt;Ideas Community&lt;/A&gt; and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. Additionally, if you have a paid subscription, I suggest sharing this with your CSM or CSM-team as a potential roadblock in your ongoing usage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 20:23:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Internal-server-errors-when-using-the-audit-logs-API/m-p/1029200#M75949</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-08-19T20:23:49Z</dc:date>
    </item>
  </channel>
</rss>

