Skip to content Skip to sidebar Skip to footer

Aws Credentials Are Not Working From Android Sample App

I am using the sample app provided from the AWS MOBILE HUB and when I run it works. But whenever i copy the amazonaws folder to my project I get an error with regards to the creden

Solution 1:

You should take a look at your IAM Policy. Mobile Hub configures all of this for you with their generated sample application, but since you copied some things to your own project, you might need to update the policy so that your unauth role has permission to do: dynamodb:Query on resource: arn:aws:dynamodb:us-east-1:033145769257:table/getitdelivery-mobilehub-927752501-Deliveries/index/Todays_Order.

An example of what the policy should look like is found here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/using-identity-based-policies.html

Post a Comment for "Aws Credentials Are Not Working From Android Sample App"