<?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 30 second limit in workflow custom code in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/581400#M684</link>
    <description>&lt;P&gt;I am calling a rest api using nodejs request from inside my workflow custom code.&amp;nbsp; &amp;nbsp;The call takes more than 30 seconds to complete.&amp;nbsp; I get the below message...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H4&gt;All is not lost.&lt;/H4&gt;&lt;DIV class=""&gt;&lt;P&gt;There was a network error while running your test. Please wait a minute and try reloading the page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This limit seems to be imposed by Hubspot.&amp;nbsp; Is there a way to increase this timeout limit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 22 Feb 2022 22:45:05 GMT</pubDate>
    <dc:creator>gjm222</dc:creator>
    <dc:date>2022-02-22T22:45:05Z</dc:date>
    <item>
      <title>30 second limit in workflow custom code</title>
      <link>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/581400#M684</link>
      <description>&lt;P&gt;I am calling a rest api using nodejs request from inside my workflow custom code.&amp;nbsp; &amp;nbsp;The call takes more than 30 seconds to complete.&amp;nbsp; I get the below message...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H4&gt;All is not lost.&lt;/H4&gt;&lt;DIV class=""&gt;&lt;P&gt;There was a network error while running your test. Please wait a minute and try reloading the page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This limit seems to be imposed by Hubspot.&amp;nbsp; Is there a way to increase this timeout limit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Feb 2022 22:45:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/581400#M684</guid>
      <dc:creator>gjm222</dc:creator>
      <dc:date>2022-02-22T22:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: 30 second limit in workflow custom code</title>
      <link>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/638370#M868</link>
      <description>&lt;P&gt;Hey there&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/306415"&gt;@gjm222&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The time limit per action execution is actually 20 seconds and is indeed imposed by HubSpot. The below is taken from the docs on coded actions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="row-fluid-wrapper row-depth-1 row-number-39 dnd-row"&gt;
&lt;DIV class="row-fluid "&gt;
&lt;DIV class="span12 widget-span widget-type-custom_widget dnd-module" data-widget-type="custom_widget" data-x="0" data-w="12"&gt;
&lt;DIV id="hs_cos_wrapper_widget_1617643768375" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_module widget-type-header" data-hs-cos-general-type="widget" data-hs-cos-type="module"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="row-fluid-wrapper row-depth-1 row-number-40 dnd-row"&gt;
&lt;DIV class="row-fluid "&gt;
&lt;DIV class="span12 widget-span widget-type-custom_widget dnd-module" data-widget-type="custom_widget" data-x="0" data-w="12"&gt;
&lt;DIV id="hs_cos_wrapper_widget_1617643782764" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_module widget-type-rich_text" data-hs-cos-general-type="widget" data-hs-cos-type="module"&gt;
&lt;P&gt;&lt;EM&gt;Custom code actions must finish running within 20 seconds and can only use up to 128 MB of memory. Exceeding either of these limits will result in an error.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link to the docs &lt;A href="https://developers.hubspot.com/docs/api/workflows/custom-code-actions" target="_blank"&gt;HERE&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;HubSpot has not publicized a means of increasing this time limit. Coded actions are primarily meant for smaller scale operations.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 May 2022 20:01:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/638370#M868</guid>
      <dc:creator>nikodev</dc:creator>
      <dc:date>2022-05-24T20:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: 30 second limit in workflow custom code</title>
      <link>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/916965#M2089</link>
      <description>&lt;P&gt;Has Hubspot gave any update on increasing the 20s rule? We are trying to do more enhanced API calls to better the customer liver chat experience and the 20s rule is becoming problamatic.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 09:54:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/916965#M2089</guid>
      <dc:creator>PaulBevington</dc:creator>
      <dc:date>2024-02-05T09:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: 30 second limit in workflow custom code</title>
      <link>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/1145978#M3028</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am also having the same problem,&lt;BR /&gt;has this been resolved yet?&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 12:28:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/1145978#M3028</guid>
      <dc:creator>tjurabek</dc:creator>
      <dc:date>2025-05-08T12:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: 30 second limit in workflow custom code</title>
      <link>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/1151848#M3032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/939714"&gt;@tjurabek&lt;/a&gt;&amp;nbsp;and welcome, it's a pleasure to have you here!&lt;BR /&gt;&lt;BR /&gt;Thanks for reaching out to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;As&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/152964"&gt;@nikodev&lt;/a&gt;&amp;nbsp;mentioned, you can see on this documentation "&lt;A href="https://developers.hubspot.com/docs/reference/api/automation/custom-code-actions#limitations" target="_blank" rel="noopener"&gt;Custom code workflow actions&lt;/A&gt;" that custom code actions must finish running within 20 seconds and can only use up to 128 MB of memory. Exceeding either of these limits will result in an error.&lt;BR /&gt;&lt;BR /&gt;If you'd like to see this limit increase, I'd suggest that you share your valuable feedback via the&amp;nbsp;&lt;A href="https://developers.hubspot.com/feedback" target="_blank" rel="noopener"&gt;HubSpot Developer Feedback Tool&lt;/A&gt;&amp;nbsp;to see if that's an option for the future.&lt;BR /&gt;&lt;BR /&gt;Thanks and have a great day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 12:20:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/30-second-limit-in-workflow-custom-code/m-p/1151848#M3032</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-05-13T12:20:48Z</dc:date>
    </item>
  </channel>
</rss>

