# Help - API throttling?

**URL:** <https://community.hubspot.com/t/help-api-throttling/33866>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [March 15, 2021, 11:26am UTC](https://community.hubspot.com/t/help-api-throttling/33866 "2021-03-15T11:26:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![netlify-data](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/netlify-data/32/28756_2.png) [@netlify-data](https://community.hubspot.com/u/netlify-data)\
**Post date:** [March 15, 2021, 11:26am UTC](https://community.hubspot.com/t/help-api-throttling/33866/1 "2021-03-15T11:26:33Z")

</div>

Hi,

We’ve got Fivetran set up to pull HubSpot data into our data warehouse. It’s been having problems for 1 week where syncs take hours and hours. I feel we’re being throttled on our API usage, even though I know we’re sending few API requests. We get these errors in Fivetran’s logs:

`"Some Error occurred, Retrying after 60 seconds. Error : HTTP 500 Internal Server Error""Retrying after 60 seconds, Reason : Bad Gateway"`

Where can we get some insight into this issue and whether our API usage is being throttled or blocked?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 15, 2021, 7:24pm UTC](https://community.hubspot.com/t/help-api-throttling/33866/2 "2021-03-15T19:24:34Z")

</div>

Hi @netlify-data

We should add @Fivetran to the conversation 😀

---

<div class="post-metadata">

**Author:** ![netlify-data](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/netlify-data/32/28756_2.png) [@netlify-data](https://community.hubspot.com/u/netlify-data)\
**Post date:** [March 16, 2021, 10:21am UTC](https://community.hubspot.com/t/help-api-throttling/33866/3 "2021-03-16T10:21:18Z")

</div>

Sure, we’re also talking with @fivetran via their support system - if it helps for @fivetran [this is the link to the conversation over there](https://support.fivetran.com/hc/en-us/requests/21526). It seems the @fivetran engineers still investigating what’s happening either so I’m trying to rule out any API throttling from HubSpot’s end and identify whether the origin of this issue is with HubSpot or Fivetran.

@dennisedson are you able to give us any insight into whether we are being rate-limited?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 16, 2021, 3:27pm UTC](https://community.hubspot.com/t/help-api-throttling/33866/4 "2021-03-16T15:27:54Z")

</div>

@netlify-data ,

Just did a quick check on your usage and you seem to be within the bounds. (current usage 6156, remaining: 493844) and this is a daily limit that resets at midnight your timezone. Keep us in the loop on this.

@lynton , any insights that you can draw here? (If this is not a fivetran issue, I feel like this one might only be solvable by HubSpot, but thought it wouldn’t hurt to have you eyes on it)

---

<div class="post-metadata">

**Author:** ![lynton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lynton/32/31184_2.png) [@lynton](https://community.hubspot.com/u/lynton)\
**Post date:** [March 17, 2021, 12:19am UTC](https://community.hubspot.com/t/help-api-throttling/33866/5 "2021-03-17T00:19:28Z")

</div>

A Bad Gateway error does happen occasionally during heavy api load. Fivetran should be able to recover gracefully and continue retrying when encountering these errors. Keep pushing their support team for a resolution as they should be able to work around the network errors.

---

<div class="post-metadata">

**Author:** ![netlify-data](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/netlify-data/32/28756_2.png) [@netlify-data](https://community.hubspot.com/u/netlify-data)\
**Post date:** [March 17, 2021, 9:51am UTC](https://community.hubspot.com/t/help-api-throttling/33866/6 "2021-03-17T09:51:38Z")

</div>

Thanks everyone, I’ll do that! 👍

---

<div class="post-metadata">

**Author:** ![diegofischer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/diegofischer/32/28756_2.png) [@diegofischer](https://community.hubspot.com/u/diegofischer)\
**Post date:** [August 14, 2021, 10:02am UTC](https://community.hubspot.com/t/help-api-throttling/33866/7 "2021-08-14T10:02:38Z")

</div>

I have the same issue. What was the solution?  
_**(I’m using Fivetran to sync data from Hubspot)**_  
{  
“event”:“warning”,  
“data”:{  
“type”:“retry\_api\_call”,  
“message”:“Retrying after 60 seconds, Reason : Too many requests”  
},  
“created”:“2021-08-14T09:51:47.871Z”,  
“connector\_type”:“hubspot”,  
“connector\_id”:“hubspot”,  
“connector\_name”:“hubspot”  
}

My daily and secondly limits are within boundaries though as you can see:

X-HubSpot-RateLimit-Daily: 1000000

X-HubSpot-RateLimit-Daily-Remaining: 837628

X-HubSpot-RateLimit-Max: 200

X-HubSpot-RateLimit-Remaining: 130

X-HubSpot-RateLimit-Secondly: 20

X-HubSpot-RateLimit-Secondly-Remaining: 13

Thank you
