question

Will Strain avatar image
Will Strain asked

Context = undefined

Ok so I am trying to test my code on Lambda, and when I try to run it it says undefined is not a function. It looks like context isn't passing like it should. The error is in my index file and I pretty much just copied my code from the samples so it should work fine. Is anyone else having these issues? Code: exports.handler = function (event, context) { var homelogistics = new homelogistics(); homelogistics.execute(event, context); };
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Kruse avatar image
Matt Kruse answered
I doubt the problem is in the code snippet posted. If you post your execute() code, we might be able to find the root cause.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

The Stig avatar image
The Stig answered
is the name of the function "event" or "event, context"?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.