Error: AccessDeniedException Nitesh is not authorized to perform: dynamodb:BatchWriteItem

0 votes

I am trying to import a DynamoDB table using CLI and my IAM User has the complete access and permissions, even though I am getting this error:

An error occurred (AccessDeniedException) when calling the BatchWriteItem operation: User: arn:aws:iam::********:user/Nitesh is not authorized to perform: dynamodb:BatchWriteItem on resource: arn:aws:dynamodb:us-east-1:********:table/History with an explicit deny
Dec 13, 2018 in AWS by Nitesh
• 2,870 points
190 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hello @Nitesh,

Many a time what happens is that even though the user policy has AmazonDynamoDBFullAccess, policy for the user also has an explicit deny on resource arn:aws:dynamodb:us-east-1:********:table/History.
The one solution is to remove the explict deny policy for the user but there is a reason the explicit policy is there.

See this documentation on Whether a request is to be allowed or denied from Amazon. Hope this helps.

answered Dec 13, 2018 by Shuvodip

Related Questions In AWS

0 votes
1 answer

What is the best way to check if table exists in DynamoDB?

This function gives you a nice boolean ...READ MORE

answered Nov 30, 2018 in AWS by Archana
• 5,360 points
477 views
0 votes
1 answer
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,140 points
108 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,140 points
219 views
0 votes
2 answers
0 votes
1 answer

Error creating Key Pair: You are not authorized to perform this operation

Try adding AmazonEC2FullAccess policy. If you are not sure how ...READ MORE

answered Sep 19, 2018 in AWS by Priyaj
• 56,140 points
199 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.