Hi We are using CRM Card on hubspot deal and tickets Our API takes more than 5 seconds to respond but the CRM Card times out in 5 seconds. Do we have some workaround to handle this.
Our API usually responds in around 20 seconds as average. Thanks
can you little elaborate how to use the work around for loading... I don't see any option in the CRM Card. the data is populating through a JSON payload.
Yeah, that 5-second timeout on CRM Cards can be a bit of a pain. Unfortunately, there’s no way to extend it directly within HubSpot.
Workarounds, Return a quick “loading” or placeholder message in the CRM Card, then have your API continue processing in the background. Once the data is ready, you can update the CRM Card with the final result using a webhook or a different API call.
If possible, try caching the response on your end. When the CRM Card requests data, return the cached response quickly and then update it as necessary once the full API call completes.
I know this one’s obvious, but any way to reduce the response time of your API? Maybe breaking the request into smaller chunks or optimizing queries could help.
Unfortunately, the 5-second limit is baked in, but these tricks should help smooth things over!