Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

deleteRemoved: true doesn't throw an error on Access Denied #235

Open
catamphetamine opened this issue Aug 25, 2020 · 0 comments
Open

deleteRemoved: true doesn't throw an error on Access Denied #235

catamphetamine opened this issue Aug 25, 2020 · 0 comments

Comments

@catamphetamine
Copy link

catamphetamine commented Aug 25, 2020

s3.deleteObjects() returns:

 {
      "Key": "xxx/yyy/zzz.html",
      "Code": "AccessDenied",
      "Message": "Access Denied"
    },

And the library just discards those types of errors.

That could happen when the user isn't assigned s3:DeleteObject role.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant