dynobase-icon
Dynobase

Error: DynamoDB Delete Not Working

Rafal Wilinski

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();

Login to the AWS Console less. Use Dynobase.

Try 7-day free trial. No credit card needed.

Product Features

Download
/
Changelog
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2024 Dynobase
+
Better DynamoDB Experience.
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.