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

Having trouble to access files from S3 #1499

Open
jl-hk opened this issue Jan 12, 2024 · 1 comment
Open

Having trouble to access files from S3 #1499

jl-hk opened this issue Jan 12, 2024 · 1 comment
Labels
guidance Question that needs advice or information.

Comments

@jl-hk
Copy link

jl-hk commented Jan 12, 2024

Unable to download dataset from S3 with for Sagemaker notebooks.
https://github.com/awslabs/realtime-fraud-detection-with-gnn-on-dgl/blob/main/src/sagemaker/01.FD_SL_Process_IEEE-CIS_Dataset.ipynb

Reproduction Steps

Access directly from browser
https://s3.console.aws.amazon.com/s3/buckets/aws-gcr-solutions-assets?region=us-east-1&prefix=open-dataset%2Fieee-fraud-detection%2F&bucketType=general
image

Or run the following
image

Error Log

fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Environment

  • CDK CLI Version: aws-cli/1.19.1 Python/3.9.2 Linux/5.4.72-microsoft-standard-WSL2 botocore/1.20.0
  • Framework Version: N/A
  • Node.js Version: N/A
  • OS : Linux/5.4.72-microsoft-standard-WSL2

Other

N/A


This is 🐛 Bug Report

@jl-hk jl-hk added bug Something isn't working needs-triage Triage required labels Jan 12, 2024
@zxkane
Copy link
Contributor

zxkane commented Jan 12, 2024

Hi,

The bucket specified in the notebook is owned by another AWS account. You cannot access it from the AWS console.

However, the objects are public for use. You can download it via awscli or HTTP request. When you download it via awscli, you need to configure your account credentials.

@zxkane zxkane added guidance Question that needs advice or information. and removed bug Something isn't working needs-triage Triage required labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

2 participants