How to access public bucket in AWS S3 #5363
-
I use Java Binding to collect OpenNeuro Datasets, but when I list object in code, the request return 403, what should i do for this error. Error message
Exception in thread "main" org.apache.opendal.OpenDALException: PermissionDenied (permanent) at List::next => S3Error { code: "AccessDenied", message: "Access Denied", resource: "", request_id: "T27BQ3PG49CJE5MG" } Context:
OpenNeuro aws cli command |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, please try configuring |
Beta Was this translation helpful? Give feedback.
Hi, I assume you have the S3 configuration set up locally and it has been loaded. Please also set
disable_config_load = true
anddisable_ec2_metadata = true
.I have tested over google colab: https://colab.research.google.com/gist/Xuanwo/19de269745fcce110438b10255b6eaf2/object.ipynb