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

S3 Remover Failed to remove bucket #18

Open
ajinabraham opened this issue Dec 10, 2019 · 3 comments
Open

S3 Remover Failed to remove bucket #18

ajinabraham opened this issue Dec 10, 2019 · 3 comments

Comments

@ajinabraham
Copy link

sls s3remove
S3 Remover: Faild: xxx a may not be empty.

Any ideas why, I don't see any debug logs regarding why the failure happened.

@ajinabraham
Copy link
Author

I think this is the default response for a lot of errors

Serverless: [AWS s3 404 0.519s 0 retries] listObjectsV2({
  Bucket: 'xxx'
})
S3 Remover: Faild: xxx may not be empty.
Serverless: [AWS s3 404 0.519s 0 retries] listObjectsV2({
  Bucket: 'xxx'
})
S3 Remover: Faild: xxx may not be empty.

Got the following error for a bucket that does not exist. At least pass back the exception received from AWS.

@siolfyr
Copy link

siolfyr commented Feb 7, 2021

I got this error when I wasn't using any credentials...

You can use -v to see verbose errors instead of the default error, which won't indicate what's happening.

@coyoteecd
Copy link

@siolfyr I reimplemented this plugin due to the lack of response from maintainer, see #22. It removes the verbose option, and always logs the caught error (not just the "may not be empty" message).

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

3 participants