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

Caught an AmazonServiceException #11

Open
SonnyRajagopalan opened this issue Nov 24, 2015 · 5 comments
Open

Caught an AmazonServiceException #11

SonnyRajagopalan opened this issue Nov 24, 2015 · 5 comments

Comments

@SonnyRajagopalan
Copy link
Contributor

When I tried to run this sample, I get this:

Error Message:    Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: <>)
HTTP Status Code: 403
AWS Error Code:   AccessDenied
Error Type:       Client
Request ID:       <>

Any help is appreciated.

@fulghum
Copy link

fulghum commented Nov 24, 2015

Looks like an authentication problem. Are you sure your AWS credentials are specified correctly and that your credentials are configured for S3 access?

@SonnyRajagopalan
Copy link
Contributor Author

I got my credentials from https://console.aws.amazon.com/iam/home?#users I
am not sure how to configure for S3 access. This is not mentioned in the
README.

PS: Thanks for the mighty quick response!

On Tue, Nov 24, 2015 at 3:20 PM, Jason Fulghum notifications@github.com
wrote:

Looks like an authentication problem. Are you sure your AWS credentials
are specified correctly and that your credentials are configured for S3
access?


Reply to this email directly or view it on GitHub
#11 (comment)
.

@SonnyRajagopalan
Copy link
Contributor Author

Never mind. I figured this out. In https://console.aws.amazon.com/iam/home?#policies, filter by the string "S3." Check on "AmazonS3FullAccess." On the top, click on "Policy Actions" and then "Attach" and the user you want to assign this policy to. Now, I am able to run the example.

@SonnyRajagopalan
Copy link
Contributor Author

PS: it is worthwhile updating the README for this. Let me know if you will let me open a pull request; else, please close this issue.

@fulghum
Copy link

fulghum commented Nov 24, 2015

Glad you got it figured out so fast! We'd be happy to accept a pull request for updated documentation.

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

2 participants