Error X-HubSpot-RateLimit-Secondly

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, 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

Hey, @MCaputo599 :waving_hand: Great question.

Please note, while the X-HubSpot-RateLimit-Secondly and X-HubSpot-RateLimit-Secondly-Remaining headers still appear in responses, are considered deprecated 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

Hi @Jaycee_Lewis,

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

Thanks