dynobase-icon
Dynobase

Error: lambda function not triggering from dynamodb

Rafal Wilinski

Answered by Rafal Wilinski

What's Causing This Error

This error occurs due to several reasons.

  1. No changes detected: If there are no new stream records, DynamoDB will not invoke the Lambda.
  2. Streams disabled: The Lambda will not get invoked if streams are disabled for the DyanmoDB table.
  3. Lambda versioning: This error occurred when referring to Lambda using the $LATEST version for some users.

Solution - Here's How To Resolve It

First, visit the DynamoDB console to ensure that streams are enabled for the table to resolve the error.

Afterward, ensure that the stream receives new records by verifying that changes do happen for the items.

Finally, try publishing a new version for the Lambda function by navigating to the Lambda console. Afterward, use the "fixed" lambda version for the DynamoDB Stream.

Tired of switching accounts and regions? Use Dynobase.

Start your 7-day free trial today

Product Features

Download
/
Changelog
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2024 Dynobase
+
Tired of AWS Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.