<?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 CRM Api: value for HTTP request timeout? in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1046821#M10314</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have custom code (C#) which is getting data from HubSpot CRM via the CRM API and a private app.&lt;/P&gt;&lt;P&gt;Sometimes the API returns the response faster, sometimes it takes more time.&lt;/P&gt;&lt;P&gt;What is the best value for the request timeout?&lt;/P&gt;&lt;P&gt;In C# is the default value 100 sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question popped up due to technical problems in the HubSpot system this week (25.09.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 06:57:01 GMT</pubDate>
    <dc:creator>baernhardj</dc:creator>
    <dc:date>2024-09-27T06:57:01Z</dc:date>
    <item>
      <title>CRM Api: value for HTTP request timeout?</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1046821#M10314</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have custom code (C#) which is getting data from HubSpot CRM via the CRM API and a private app.&lt;/P&gt;&lt;P&gt;Sometimes the API returns the response faster, sometimes it takes more time.&lt;/P&gt;&lt;P&gt;What is the best value for the request timeout?&lt;/P&gt;&lt;P&gt;In C# is the default value 100 sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question popped up due to technical problems in the HubSpot system this week (25.09.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 06:57:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1046821#M10314</guid>
      <dc:creator>baernhardj</dc:creator>
      <dc:date>2024-09-27T06:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Api: value for HTTP request timeout?</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1046866#M10316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619384"&gt;@baernhardj&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’d recommend setting your timeout to something like 60–90 seconds. The default 100 sec is usually fine, but if you’re seeing timeouts due to recent issues, lowering it a bit might help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can also implement retry logic, such as retrying failed requests 2–3 times with exponential backoff.&lt;BR /&gt;&lt;BR /&gt;That way, if HubSpot is slow or having temporary issues, your code can handle it without needing long timeouts.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope it helps, let me know if you need to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://calendly.com/khushboo-pokhriyal/30min?month=2024-08" target="_blank" rel="noopener nofollow noreferrer"&gt;talk&lt;/A&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Khushboo Pokhriyal&lt;/P&gt;&lt;P&gt;Growth &amp;amp; Operations&lt;/P&gt;&lt;P&gt;GroRapid Labs&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/khushboopokhriyal" target="_blank" rel="noopener nofollow noreferrer"&gt;LinkedIn |&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="tel:9315044754" target="_blank" rel="noopener nofollow noreferrer"&gt;9315044754 |&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="mailto:khushboo.pokhriyal@grorapid.com" target="_blank" rel="noopener nofollow noreferrer"&gt;Email |&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://www.grorapidlabs.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;Website&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 08:54:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1046866#M10316</guid>
      <dc:creator>KhushbooP11</dc:creator>
      <dc:date>2024-09-27T08:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Api: value for HTTP request timeout?</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1051775#M10411</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/794297"&gt;@KhushbooP11&lt;/a&gt;&lt;A href="https://mcdvoice.fun/" target="_blank" rel="noopener"&gt;mcdvoice&lt;/A&gt; wrote:&lt;BR /&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619384"&gt;@baernhardj&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’d recommend setting your timeout to something like 60–90 seconds. The default 100 sec is usually fine, but if you’re seeing timeouts due to recent issues, lowering it a bit might help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can also implement retry logic, such as retrying failed requests 2–3 times with exponential backoff.&lt;BR /&gt;&lt;BR /&gt;That way, if HubSpot is slow or having temporary issues, your code can handle it without needing long timeouts.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope it helps, let me know if you need to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://calendly.com/khushboo-pokhriyal/30min?month=2024-08" target="_blank" rel="noopener nofollow noreferrer"&gt;talk&lt;/A&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Khushboo Pokhriyal&lt;/P&gt;&lt;P&gt;Growth &amp;amp; Operations&lt;/P&gt;&lt;P&gt;GroRapid Labs&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/khushboopokhriyal" target="_blank" rel="noopener nofollow noreferrer"&gt;LinkedIn |&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="tel:9315044754" target="_blank" rel="noopener nofollow noreferrer"&gt;9315044754 |&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="mailto:khushboo.pokhriyal@grorapid.com" target="_blank" rel="noopener nofollow noreferrer"&gt;Email |&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://www.grorapidlabs.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;Website&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for the insightful recommendation on the timeout settings! I appreciate your suggestion to implement retry logic with exponential backoff as well. This will definitely help manage the variability in response times from the HubSpot API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 16:21:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1051775#M10411</guid>
      <dc:creator>doperation</dc:creator>
      <dc:date>2024-10-08T16:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Api: value for HTTP request timeout?</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1052118#M10415</link>
      <description>&lt;P&gt;Hi&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'm considering to implement the retry logic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 06:11:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/CRM-Api-value-for-HTTP-request-timeout/m-p/1052118#M10415</guid>
      <dc:creator>baernhardj</dc:creator>
      <dc:date>2024-10-09T06:11:22Z</dc:date>
    </item>
  </channel>
</rss>

