elb2loggly
elb2loggly copied to clipboard
Errors Testing the Lambda Function
I keep getting this in the output when I try to simply test the function:
START RequestId: 7a111162-fe11-4eee-a5f8-0651a0691b8f Version: $LATEST 2019-02-15T12:01:38.743Z 7a111162-fe11-4eee-a5f8-0651a0691b8f TypeError: Cannot read property '0' of undefined at exports.handler (/var/task/index.js:9:33) END RequestId: 7a111162-fe11-4eee-a5f8-0651a0691b8f REPORT RequestId: 7a111162-fe11-4eee-a5f8-0651a0691b8f Duration: 54.30 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 29 MB RequestId: 7a111162-fe11-4eee-a5f8-0651a0691b8f Process exited before completing request
What am I missing?
@nikodem26 It has been a couple years since I have used this code. It's possible that a new version of Node in AWS or a version of one of the packages is causing something to break. Unfortunately, I do have the bandwidth to look into this, so you're on your own to figure it out.