Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10532

Comment on: "MongoDB Stitch/examples/s3-javascript"

      I got stuck in 2 places,

      const promise = stitchClient.authManager.anonymousAuth(true);
      did not work, it had to be
      const promise = stitchClient.login();

      and

      An Amazon AWS user with PutObject permission on that bucket was not enough for me, i still got an access denied error, i had to add the PutObjectAcl action

      "Action": ["s3:PutObject","s3:PutObjectAcl"]

      to my bucket policy to be able to put the object in it.

      learned a lot, thank you

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 40 weeks, 4 days ago