Error: lambda function not triggering from dynamodb

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.

Better DynamoDB experience.

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

Product Features

Member Portal
© 2023 Dynobase
Using DynamoDB Console frequently?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.