# Error: You have reached your secondly limit

**URL:** <https://community.hubspot.com/t/error-you-have-reached-your-secondly-limit/14316>\
**Category:** APIs & Integrations\
**Tags:** help-desk\
**Created:** [May 10, 2019, 5:56am UTC](https://community.hubspot.com/t/error-you-have-reached-your-secondly-limit/14316 "2019-05-10T05:56:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chinna](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chinna/32/27089_2.png) [@Chinna](https://community.hubspot.com/u/Chinna)\
**Post date:** [May 10, 2019, 5:56am UTC](https://community.hubspot.com/t/error-you-have-reached-your-secondly-limit/14316/1 "2019-05-10T05:56:41Z")

</div>

Hi All,

I am receiving the following error from Hubspot

**429 - You have reached your secondly limit. - Request ID: XXXXXXXXXXXX**

**API:** /contacts/v1/contact/vid/{id}/profile

I am running a long job to fetch all the contacts in my Hubspot account by calling the API iteratively. And I am sure that I am not making 10 requests per second. And what I found, this is not happening right away.

For almost one hour, there was no interruption. But later I could see that the above error is happening with almost every API call that I was making. (I was catching this error and ignoring and going for the next and still happening).

Any information will be greatly appreciated. But looking for: is there anything that I have to configure with the rate limits in my Hubspot App or per Access token and any valuable resources that explains this behavior.

Another question is, Why it is happening after some time (around an hour), not right away?

Thank you!

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [May 13, 2019, 7:36pm UTC](https://community.hubspot.com/t/error-you-have-reached-your-secondly-limit/14316/2 "2019-05-13T19:36:33Z")

</div>

Welcome, @Chinna.

That’s strange. I have only ever seen `SECONDLY` limit errors returned when calls exceed [10 per second](https://developers.hubspot.com/docs/faq/working-within-the-hubspot-api-rate-limits). I see several HubSpot accounts associated with your email on file. Can you confirm the Hub ID of the account for which you encountered these errors? I’d like to take a closer look at your usage.

Additionally, is there a reason you are fetching all contacts individually with [this endpoint](https://developers.hubspot.com/docs/methods/contacts/get_contact)? Per the [_Working within the HubSpot API rate limits_](https://developers.hubspot.com/docs/faq/working-within-the-hubspot-api-rate-limits) documentation, we recommend using [this batch endpoint](https://developers.hubspot.com/docs/methods/contacts/get_contacts) to retrieve up to 100 contacts per call. This is my first recommendation in avoiding rate limit errors.

---

<div class="post-metadata">

**Author:** ![KTriviso](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@KTriviso](https://community.hubspot.com/u/KTriviso)\
**Post date:** [February 28, 2023, 5:49pm UTC](https://community.hubspot.com/t/error-you-have-reached-your-secondly-limit/14316/3 "2023-02-28T17:49:40Z")

</div>

Hi Isaac, I see that you were able to look into an account for someone having the same issue I am having. Yesterday we had to convert our API keys over to a private app & use the new v3 endpoints. Since doing that, we are now getting rate limit errors. So far there has been 17 in the last 14 hours but our useage has not changed. So wondering if you could help.  
[https://community.hubspot.com/t5/APIs-Integrations/You-have-reached-your-secondly-limit-after-creating-private-app/m-p/762136/highlight/true#M61776](https://community.hubspot.com/t5/APIs-Integrations/You-have-reached-your-secondly-limit-after-creating-private-app/m-p/762136/highlight/true#M61776)  
Thanks for any feedback!
