I am getting this error when my app attempts to fetch a deal card:
"Your request has timed out while trying to connect to this data fetch URL."
I can see from my logs that the request was resolved in about 5 seconds. From other posts, I have read that these requests time-out in 10 seconds, so is there any reason it would time out earlier?
Is there any way to adjust this timeout? This is especially important for app development, where I must use a proxy for API requests.
HubSpot doesn’t give you a way to customize that timeout, which makes local/proxy setups kinda fragile.
One thing you can try is making sure your endpoint responds fast — like even if the full logic takes longer, you can return a quick skeleton response and then update the card later using the CRM card’s external data refresh endpoint. Not ideal, I know, but it helps during dev.
Also, if you’re using a dev proxy (like ngrok or something similar), make sure it’s not occasionally throttling or adding extra handshake time.
HubSpot doesn’t give you a way to customize that timeout, which makes local/proxy setups kinda fragile.
One thing you can try is making sure your endpoint responds fast — like even if the full logic takes longer, you can return a quick skeleton response and then update the card later using the CRM card’s external data refresh endpoint. Not ideal, I know, but it helps during dev.
Also, if you’re using a dev proxy (like ngrok or something similar), make sure it’s not occasionally throttling or adding extra handshake time.