Can't download images because of S3 permission errors

#1

Hello, we’re experiencing permission issues trying to access the sentinel-s2-l1c bucket. Please see:

$ aws s3 --request-payer=requester ls s3://sentinel-s2-l1c/
An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied

$ aws s3 cp --request-payer requester s3://sentinel-s2-l1c/tiles/38/L/PH/2017/12/15/0/B01.jp2 .
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Is there something wrong with how we’re trying to access content?

Thanks

#2

Hi Adam, this is likely a permissions issue tied to the user account that is trying to access the data. Both the bucket has to allow the actions (which it does) and the user trying to do the action has to allow it. You should check the IAM permissions tied to the credentials you are using to sign the request.

#3

Thanks for the response. Turns out your bucket is in eu-central-1 and our organization has a service control policy preventing access to eu-central-1. We’ve fixed it now. Thanks again.