Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean command can cause a Too Many Requests error thrown by boto3 DeleteRestApi #48

Closed
ipSlav opened this issue Apr 5, 2023 · 1 comment

Comments

@ipSlav
Copy link

ipSlav commented Apr 5, 2023

If more than 1 API Gateway is running on the same region the --clean led to a Too Many Requestserror thrown by boto3 DeleteRestApi
I've solved it by simply adding a time.sleep(50) right before this line as suggested in this boto3 issue

I've added an Issue instead of a pull request both for simplicity and also in case you'll find a better solution to overcome this :)

@knavesec
Copy link
Owner

knavesec commented Aug 2, 2023

Fixed in commit 0ed33a4, added max retries config option to the fireprox api

@knavesec knavesec closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants