jckuester / awsweeper

A tool for cleaning your AWS account
Mozilla Public License 2.0
467 stars 45 forks source link

Throttling: Rate exceeded #115

Open benpettman opened 3 years ago

benpettman commented 3 years ago

When using this to get elastic beanstalk resources all I get is the following:

retrying to read current state of resource error=Throttling: Rate exceeded status code: 400, request id: 46ab2250-9d06-420a-bd83-de464d677315

Googling it says either need a limit increase or the thing calling the api needs to do it differently.

Ive tried finding where to raise this limit but you cant seemingly do so from the console.

jckuester commented 3 years ago

Hi @benpettman :wave:

thanks for letting me know about this problem. How many resources are you roughly trying to delete? Just elastic beanstalk resources? Which version of awsweeper are you using? I add retries if throttling errors happen in one place of the code, but it seems there is another place where I need to tackle it. I will come back to you.

benpettman commented 3 years ago

About 40 beanstalk environments

jckuester commented 3 years ago

Some more questions, because the output you provided isn't sufficient for me to debug: