The following are common problems and their solutions:
- If error logging is not enabled then enable it and check error log messages.
- Verify whether the DynamoDB table exists or not.
- Verify the IAM role specified for DynamoDB and its access permissions.
- AWS SDKs take care of propagating errors to your application for appropriate actions. Like Java programs, you should write a try-catch block to handle the error or exception.
- If you are not using an AWS SDK then you need to parse the content of low-level responses from DynamoDB.
- A few exceptions are as follows:
- AmazonServiceException: Client request sent to DynamoDB but DynamoDB was unable to process it and returned an error response
- AmazonClientException ...