Too many requests exception

On staging and now on production getting rate limited - why?
HTTP response headers: HTTPHeaderDict({‘Date’: ‘Fri, 04 Aug 2023 22:56:14 GMT’, ‘Content-Type’: ‘application/json’, ‘Content-Length’: ‘32’, ‘Connection’: ‘keep-alive’, ‘x-amzn-RequestId’: ‘08c69f25-77c9-4cd1-9d6c-5666cce11173’, ‘x-amzn-ErrorType’: ‘TooManyRequestsException’, ‘x-amz-apigw-id’: ‘JKFCSHdDywMFoYg=’})

On the free plan you are limited to 1 request per second which includes render requests and polling requests.

On the Essentials And Pro plan it is rate limited to 10 requests per second including render and polling.

If you are exceeding those limits then you will need to throttle or retry render requests and instead of polling I would recommend using webhooks, see here: Webhooks | Shotstack Documentation.

Post back if you still have issues or you are sure you are not exceeding the limits and we will look in to it further for you.