aws-samples/amazon-guardduty-to-slack

Cannot read properties of undefined (reading 'type') - line 47

Opened this issue · 0 comments

Getting an error in Lambda so nothing is posting to slack.

Response
{
"errorType": "TypeError",
"errorMessage": "Cannot read properties of undefined (reading 'type')",
"trace": [
"TypeError: Cannot read properties of undefined (reading 'type')",
" at processEvent (/var/task/index.js:47:36)",
" at Runtime.exports.handler (/var/task/index.js:119:9)",
" at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1085:29)"
]
}