# CRM Api: value for HTTP request timeout?

**URL:** <https://community.hubspot.com/t/crm-api-value-for-http-request-timeout/117195>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** crm, best-practices\
**Created:** [September 27, 2024, 6:56am UTC](https://community.hubspot.com/t/crm-api-value-for-http-request-timeout/117195 "2024-09-27T06:56:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![KhushbooP11](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khushboop11/32/8252_2.png) [@KhushbooP11](https://community.hubspot.com/u/KhushbooP11)\
**Post date:** [September 27, 2024, 8:54am UTC](https://community.hubspot.com/t/crm-api-value-for-http-request-timeout/117195/2 "2024-09-27T08:54:12Z")

</div>

Hi @baernhardj,

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.

You can also implement retry logic, such as retrying failed requests 2–3 times with exponential backoff.  
That way, if HubSpot is slow or having temporary issues, your code can handle it without needing long timeouts.

I hope it helps, let me know if you need to [talk](https://calendly.com/khushboo-pokhriyal/30min?month=2024-08)!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

[LinkedIn |](https://www.linkedin.com/in/khushboopokhriyal)9315044754 | [Email |](mailto:khushboo.pokhriyal@grorapid.com)[Website](https://www.grorapidlabs.com/)

---

_[View the full topic](https://community.hubspot.com/t/crm-api-value-for-http-request-timeout/117195)._
