Error: failed to list tables not authorized dynamodb

Answered by Rafal Wilinski
What's Causing This Error
This error occurs when the service invoking the DynamoDB ListTables operation does not have the required identity-based policy.
In simple terms, the service invoking the DynamoDB API does not have the required permissions to execute the ListTables operation.
Solution: Here's How To Resolve It
To solve the error, visit the IAM console and locate the IAM role assigned to the service. Then, attach the inline policy shown below to the IAM Role.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "allowListTablesPolicy",
"Effect": "Allow",
"Action": "dynamodb:ListTables",
"Resource": "*"
}
]
}
Afterwards, save the changes to the role. The ListTables operation will work the next time you execute the operation via the service. However, ensure that you have added the policy to the correct role.
Other Common DynamoDB Errors (with Solutions)
- DynamoDB ConditionExpression not working
- can't pickle thread.lock objects typeerror boto3 python dynamodb
- error retrieving dynamodb table item serializationexception
- dynamodb condition does not exist
- moto dynamodb not working
- dynamodb consistent reads are not supported on global secondary indexes
- DynamoDB console unable to delete this item
- DynamoDB cannot do operations on a non-existent table
- dynamodb streams missing events
- dynamodb no range key value present
- dynamodb-admin not working
- dynamodb-admin is not recognized as an internal or external command
- dynamodb query is not null
- DynamoDB Local NoClassDefFoundError
- DynamoDB TTL Not Working
Dynobase is a Professional GUI Client for DynamoDB
Start your 7-day free trial today
Product Features
- New in Dynobase 3.0
- Semantic and Vector Search
- Schema Explorer
- Visual JSON Path Filtering
- Visual Item Diff
- MCP Server for AI Tools
- Use SQL with DynamoDB
- Import CSV To DynamoDB
- Import JSON To DynamoDB
- Export DynamoDB To JSON
- Export DynamoDB To S3
- Export DynamoDB To CSV
- DynamoDB Update Item
- DynamoDB Delete All Items
- DynamoDB Delete Item
- DynamoDB Create Table
- DynamoDB Delete Table
- DynamoDB Conditional Update
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase