when we run our http api request one by one its returning a result, but when we run it in batches it is coming as error. We've tried batches even as low at 50, and its still erroring. This was working ok a few days back
This is likely a rate limiting issue. Our API has a general guideline of 10 requests per second (or 20 per second in bursts).
When running batches, you're hitting rate limits that cause errors after the first few successful requests. You can control this by setting rate limits in the HTTP API integration - specify the maximum number of requests in the Request Limit field and the time window in Duration (in ms) (e.g., 1000 ms = 1 second). [2]
For bulk operations, implement throttling and rate limiting to ensure the API isn't overwhelmed during batch processing. [3] If you're using a lower API tier, you may need to process data in smaller batches of around 50 rows at a time.
Can you copy and paste the specific error message you're seeing so I can help troubleshoot further?
If you still need help resolving the batch API errors, I’m here to assist. Would you like to provide the exact error message you’re encountering so we can troubleshoot further?
Hey Ravi P. single calls work because they stay under the rate limit batch runs fail because the API or clay concurrency is getting hit, even at fifty drop batch size to five to ten and add a small delay or run it sequential so it doesn’t break. If you want, share the API and i’ll point out the exact limit.
You're absolutely right about the rate limiting causing batch failures. You can set rate limits in the HTTP API integration by specifying the Request Limit (max requests) and Duration in milliseconds to control the request flow. [1]
For batch processing, implement throttling and rate limiting to prevent overwhelming the API during bulk operations. [2] With lower API tiers, processing data in smaller batches of around 50 rows at a time is recommended.
Our general API guideline is 10 requests per second (or 20 per second in bursts).
Could you copy and paste your JSON body from the HTTP API configuration so I can help identify the specific rate limits for your API endpoint?
If you still need help with troubleshooting your batch API requests, I’m here to assist. Would you like to share the JSON body from your HTTP API configuration so we can look into the rate limits together?
