Skip to content

Caught an AmazonServiceException #11

Open

Description

@SonnyRajagopalan

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.

Activity

  1. fulghum commented on Nov 24, 2015

    @fulghum

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

  2. SonnyRajagopalan commented on Nov 24, 2015

    @SonnyRajagopalan
    ContributorAuthor

    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)
    .

  3. SonnyRajagopalan commented on Nov 24, 2015

    @SonnyRajagopalan
    ContributorAuthor

    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.

  4. SonnyRajagopalan commented on Nov 24, 2015

    @SonnyRajagopalan
    ContributorAuthor

    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.

  5. fulghum commented on Nov 24, 2015

    @fulghum

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions