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

Getting Permission Denied (403) #175

Closed
matt-jay opened this issue Oct 20, 2017 · 2 comments
Closed

Getting Permission Denied (403) #175

matt-jay opened this issue Oct 20, 2017 · 2 comments

Comments

@matt-jay
Copy link

I seem to encounter the same issue as already reported and fixed with #142.

I installed the latest stable version and now have aws.s3 (0.3.8) and aws.signature (0.3.6) installed.

I set the environment variables with

Sys.setenv(
  "AWS_ACCESS_KEY_ID" = "<key>",
  "AWS_SECRET_ACCESS_KEY" = "<secret>",
  "AWS_DEFAULT_REGION" = "eu-central-1"
)

I can successfully execute bucketlist().

As soon as I try to run get_bucket('<bucket_name>) or put_object('<file_name>', '<bucket_name>'), I get 403 errors.

Am I doing anything wrong? Is any extra configuration required for the bucket?

@matt-jay
Copy link
Author

This seems to be related to / identical with #122.

@matt-jay
Copy link
Author

Adding check_region = F to the calls solved this issue for me, e.g., put_object(..., check_region = F).

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

No branches or pull requests

1 participant