Hi im receiving “An HTTP error occurred: Too Many Requests” error not sure how to fix this? we have couple of API tasks to create orders and update different stuff in Infusionsoft, can anyone help me fix this issue?
Hi @pagedesigner, you probably hit the rate limit. Which authentication method are you using, OAuth or PAT/SAK?
OAuth
{
“code”: “429”,
“message”: “Quota Exceeded”,
“status”: “Request Throttled”,
“details”: null
}
That error means you’ve hit the throttle limit. By default for OAuth, it’s 150k calls per day and 1.5k calls per minute, so you might be exceeding one of those limits.
I’d recommend keeping an eye on your usage as your integration grows. A few optimizations, like caching frequent requests, minimizing duplicate calls, and using filters to reduce paginated requests can go a long way in keeping things running smoothly and avoiding throttle issues over time.
is there any dashboard to check limits in dashboard, in dev dashboard i can’t see this
For OAuth, we don’t currently have a dashboard or in-app reporting available to track usage or rate limits. For PATs/SAKs, we recently rolled out in-app reporting under Settings → API → Personal Access Tokens or Settings → API → Service Account Keys, where you can view usage metrics.
Additional Keap headers are passed back when using the PAT or SAK. I assume they’re available with OAuth as well.
They should give you an idea of how close you are to the throttle limit.
Here’s the Keap headers I get back when making a test request using Postman.
x-keap-product-spike-limit
x-keap-product-throttle-limit 240
x-keap-product-throttle-time-unit minute
x-keap-product-throttle-interval 1
x-keap-product-throttle-available 239
x-keap-product-throttle-used 1
x-keap-product-quota-limit 30000
x-keap-product-quota-time-unit day
x-keap-product-quota-interval 1
x-keap-product-quota-available 29999
x-keap-product-quota-used 1
x-keap-product-quota-expiry-time 1771459200000
x-keap-tenant-id {appname}.infusionsoft.com
x-keap-tenant-throttle-limit 5000
x-keap-tenant-throttle-time-unit minute
x-keap-tenant-throttle-interval 1
x-keap-tenant-throttle-available 4999
x-keap-tenant-throttle-used 1
That’s right, those headers are also returned when using OAuth.