Skip to content

SNS Event Notification Not Passing bucket name in example  #32

@abbasghulam

Description

@abbasghulam

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions