Error: DynamoDB Delete Not Working

Answered by Rafal Wilinski
What's Causing This Error
In most cases, this error can happen when the key you specify is not available. In addition, some SDK functions cause this error when we do not pass a callback parameter, even when it is not mandatory.
Solution: Here's How To Resolve It
As the first step, double-check whether the key you specify is accurate and exists within the database. If it is correct and you are not getting any error messages, try passing a callback parameter. Given below is a sample code that represents this solution.
const dataRspns = await ddb.deleteItem(params, () => {}).promise();
Other Common DynamoDB Errors (with Solutions)
- DynamoDB Duplicate Key Error
- aws.dynamodb.documentclient is not a constructor
- is not authorized to perform dynamodb:* on resource
- dynamodb list_append returns true but does not work
- aws.dynamodb.converter.unmarshall not working
- DynamoDB TTL Not Working
- dynamodb getItem() is not a function
- dynamodb put item not working
- dynamodb botocore.exceptions.nocredentialserror unable to locate credentials
- DynamoDB No Provisioned Throughput specified for the table
- DynamoDB Scan Not Working
- DynamoDB Invalid UpdateExpression Syntax Error Token
- Float types are not supported. Use decimal types instead.
- sls dynamodb install not working
- DynamoDB Update Not Working
Dynobase is a Professional GUI Client for DynamoDB
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase