Error: AWS DynamoDB errors ResourceNotFoundException
Answered by Rafal Wilinski
Solution
DynamoDB responds with this error when you're trying to run an operation against non-existent or not active table.
Troubleshooting steps:
- Make sure you haven't made any spelling mistake in TableName parameter while running SDK/CLI operations. Table name must be exactly the same as the name of provisioned table. It's case sensitive so make sure capitalization is also correct.
- Make sure that your table exists and it's in ACTIVE state
- Check if you're using the same AWS account and correct region. DynamoDB Table must be in the same region as CLI/SDK configuration
- Make sure you or your resource (e.g. Lambda function) has correct IAM permissions to perform operations on selected table
Other Common DynamoDB Errors (with Solutions)
- boto3 dynamodb client error
- dynamodb cannot create preexisting table
- amazon dynamodb query parentparams is not defined
- Float types are not supported. Use decimal types instead.
- One or more parameter values were invalid: some AttributeDefinitions are not used
- Error ValidationException: One or more parameter values were invalid: Type mismatch for key X expected: S actual: M
- dynamodb items page not authorized with read access
- dynamodb ttl not deleting / erasing items
- cognitoidentitycredentials is not authorized to perform dynamodb describetable
- an expression attribute name used in the document path is not defined
- dynamodb list_append returns true but does not work
- Unable to start DynamoDB Local process
- could not lookup table in dynamodb
- DynamoDB failedbatch retry
- DynamoDB Query Limit Not Working
Better DynamoDB experience.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2024 Dynobase