Skip to content

Error in Connecting DynamoDB table from PyCharm Python file

0

Code: ResourceNotFoundException, Message: Requested resource not found

asked 4 years ago332 views

1 Answer
1

To provide context, the "ResourceNotFoundException" error occurs when an attempt is made to execute an operation on a table that either does not exist or is not in an active state. After confirming that the table is created and has transitioned to an ACTIVE state, several additional steps can be taken to address and prevent this exception:

  1. Ensure the table's existence and verify that it has reached the ACTIVE state. Note that newly created tables may take some time to transition to an ACTIVE status.

  2. Double-check the TableName parameter when executing SDK/CLI operations. The table name must precisely match the name of the provisioned table, including case sensitivity and capitalization.

  3. Confirm that you are using the correct AWS account and the appropriate region. DynamoDB tables must reside in the same region as your AWS CLI/SDK configuration.

  4. Validate that your resource, such as PyCharm Python, possesses the necessary IAM permissions to execute the intended operations on the selected table.

By following these guidelines, you can effectively manage the "ResourceNotFoundException" error and ensure the successful execution of operations on DynamoDB tables.

AWS

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.