Error: DynamoDB failedbatch retry

Answered by Rafal Wilinski
What's Causing This Error
There are several instances that may cause a retry of batch operation to fail again and again In DynamoDB. For example, this may occur because you retry to process the unprocessed items repeatedly without a timeout. Another instance is that the table's throughput is insufficient to handle the batch operation.
Solution: Here's How To Resolve It
To eliminate the above causes, first of all, check and increase the throughput for the DynamoDB table so that the provisioned throughput is not exceeded when handling the batch operation. Otherwise, the batch operation will fail and result in this error. Another way to resolve this issue is to use a proper back-off strategy when you retry unprocessed operations. That will prevent the service from being overwhelmed with too many retry attempts over a short time period.
Other Common DynamoDB Errors (with Solutions)
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
 - dynamodb query key condition not supported
 - failed to list tables not authorized dynamodb
 - DynamoDB missing items
 - dynamodb converter not found for enhancedtype
 - could not unconvert attribute dynamodb
 - dynamodb 1 validation error detected value
 - DynamoDB Key element does not match the schema
 - dynamodb system errors metric
 - dynamodb the parameter cannot be converted to a numeric value NaN
 - dynamodb atomic counter not working
 - dynamodb-admin not working
 - can't pickle thread.lock objects typeerror boto3 python dynamodb
 - dynamodb table did not stabilize
 - DynamoDB consistent read not working