dvc: ListObjectsV2 operation: Access Denied
Hi,
I got strange behaviours when upgrading from 2.1.0 to 2.5.0.
On some DVC repo, I get an unexpected error - _find() got an unexpected keyword argument 'prefix'
or a forbidden error 403
on other.
My setup is pretty simple, I have an s3 remote with AWS in each DVC repo and I simply add and push some data. Nothing fancy, no pipeline.
Setup:
Ubuntu 20.10 Python 3.8 DVC 2.1.0 or 2.5.0
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (10 by maintainers)
Thanks! Ok, so something more complex is going on then. Will need to take a closer look.
CC @isidentical maybe you’ve run into this before.
okay, after some downgrade testing working on
2.1.0
. and next version(2.2.0) it stop workingstandard aws s3
Working with DVC 2.6.3 and s3 updated now.
Will close the issue.
yes that the expected output
yes working
yes, first i’ve installed binary package and for some downgrade testing i removed binary package and installed from pip, but getting same error
i’m having same problem
in my case. i’m a owner of my bucket so there is no perm issue i guess. and also aws ls is working fine
Don’t know why but somehow that command fixed the issue for me
@davebulaval Not seeing the
prefix
error anymore, so looks like the upgrade helped. The current error looks similar to https://github.com/iterative/dvc/issues/5130 . Could you tryaws s3 ls s3://...
with the url of your remote, please?