# Error X-HubSpot-RateLimit-Secondly

**URL:** <https://community.hubspot.com/t/error-x-hubspot-ratelimit-secondly/83145>\
**Category:** APIs & Integrations\
**Tags:** companies, timeline-and-extensions-apis\
**Created:** [June 12, 2023, 12:39pm UTC](https://community.hubspot.com/t/error-x-hubspot-ratelimit-secondly/83145 "2023-06-12T12:39:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MCaputo599](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@MCaputo599](https://community.hubspot.com/u/MCaputo599)\
**Post date:** [June 12, 2023, 12:39pm UTC](https://community.hubspot.com/t/error-x-hubspot-ratelimit-secondly/83145/1 "2023-06-12T12:39:48Z")

</div>

Hi all,

making some api calls I get this error:

_“You have reached your second limit”_

This limit is not reported in the response header. In the header I only receive the daily limit.  
Reading [this guide](https://legacydocs.hubspot.com/docs/faq/working-within-the-hubspot-api-rate-limits), I noticed that this limit is no longer reported but is still set.

_“Note: The X-HubSpot-RateLimit-Secondly and X-HubSpot-RateLimit-Secondly-Remaining headers are still included and will still have accurate data, but the limit referenced by these headers is no longer enforced and these two headers should be considered deprecated.”_

How do I understand what the limit is and how can I fix it?

Thanks

 ![805982_1_Screenshot 2023-06-12 alle 12.51.17.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/549505de9fb6dbe0a84247d4435e5df9325256aa.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 13, 2023, 5:22pm UTC](https://community.hubspot.com/t/error-x-hubspot-ratelimit-secondly/83145/2 "2023-06-13T17:22:30Z")

</div>

Hey, @MCaputo599 👋 Great question.

Please note, while the `X-HubSpot-RateLimit-Secondly` and `X-HubSpot-RateLimit-Secondly-Remaining` headers still appear in responses, are considered [**deprecated**](https://legacydocs.hubspot.com/docs/faq/working-within-the-hubspot-api-rate-limits#:~:text=RateLimit%2DInterval%2DMilliseconds-,Note,-%3A%20The%20X%2DHubSpot) and the limits they reference **are no longer enforced**.

I agree, it’s confusing to have them keeping showing up. Based on the above, you’re not actually hitting a seconds-based rate limit. Despite it being returned in the API response, these two specific warnings can safely be ignored.

I hope this helps! —Jaycee

---

<div class="post-metadata">

**Author:** ![MCaputo599](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@MCaputo599](https://community.hubspot.com/u/MCaputo599)\
**Post date:** [June 19, 2023, 7:21am UTC](https://community.hubspot.com/t/error-x-hubspot-ratelimit-secondly/83145/3 "2023-06-19T07:21:08Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074),

Thanks for the reply.  
API calls don’t return the expected results. The answer is attached.

Thanks

 ![808950_1_Screenshot 2023-06-19 alle 09.18.39.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/b/8b157cf10f544108fdc5eb971dfb688d36a44377.png)
