imagemagick-aws-lambda-2 icon indicating copy to clipboard operation
imagemagick-aws-lambda-2 copied to clipboard

SNS Event Notification Not Passing bucket name in example

Open abbasghulam opened this issue 4 years ago • 0 comments

I'm using the example function for resizing and used SNS topic event notification as I already have another function.

I'm facing this issue

{ "errorType": "TypeError", "errorMessage": "Cannot read property 'bucket' of undefined", "stack": [ "TypeError: Cannot read property 'bucket' of undefined", " at Runtime.exports.handler (/var/task/index.js:13:32)", " at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)" ] }

SNS is not passing the bucket name with the object. Any help on this, please?

abbasghulam avatar Oct 24 '20 18:10 abbasghulam