Hit ten_secondly_rolling limit

Hi, I’m developing an integration with Hubspot, I’m getting this error ten_secondly_rolling limit from the API.
I’m creating Companies and Contacts in batch. When the error apeared, I had made only 5 batch calls, with 100 records per call. What I understand from the documentation, the limit is 100 calls for 10 seconds, and the number of records dosen’t matter. Right?

Coud you please help me to understand why I’m getting this error?
Right now I’m using the API Key and not Oauth.
Below are part of the response:

You have reached your ten_secondly_rolling limit.
errorType: RATE_LIMIT
correlationId: fe42eba1-156e-49c2-8c31-3a892d11f052
groupName: publicapi:hapikey-api-calls-ten-secondly:7253261
policyName: TEN_SECONDLY_ROLLING
requestId: 38fe9404fb86b77ef885e2aa37c55306
Response: StatusCode: 429
X-HubSpot-RateLimit-Daily: 500000
X-HubSpot-RateLimit-Daily-Remaining: 485048
X-HubSpot-RateLimit-Interval-Milliseconds: 10000
X-HubSpot-RateLimit-Remaining: 0
X-HubSpot-RateLimit-Max: 100
X-HubSpot-RateLimit-Secondly: 10
X-HubSpot-RateLimit-Secondly-Remaining: 0

Regards

Hi @nraddatz

If you’re running into the TEN_SECONDLY_ROLLING limit, you should throttle the requests that your app is making to stay under that limit.

In addition to throttling the requests, or if you’re running into the daily limit, check out the suggestions outlined in our documentaton here: Accounts Dashboard | HubSpot

I hope this helps!