Closed 23ewrdtf closed 4 years ago
I just ran into the same error while testing the function. The stack trace tells you, that the error occurs in index.js:319
(see https://github.com/assertible/lambda-cloudwatch-slack/blob/master/index.js#L319)
The code tried to parse the message as json but what you are sending is text. Try sending a test message in valid json instead.
Hi,
When I run the npm run deploy I got below error:
So I run
npm install node-lambda@latest
and deploy was successful.Now when I send a test message to subscription I get below error in Lambda: