jckuester/awsweeper

Throttling: Rate exceeded

benpettman opened this issue · 3 comments

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.

Hi @benpettman 👋

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.

About 40 beanstalk environments

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

  • Are you using the latest version of awsweeper? I added a retry for throttling some releases ago.
  • Are you running awsweeper with --debug flag? If so, then the output you are seeing isn't error but only indicates that throttling is already retried.
  • Are you able to delete some or none of the resources you want to?