我在尝试上传文件时在Lambda中收到此错误,
{
"errorMessage": "Cannot read property 'application' of undefined",
"errorType": "TypeError",
"stackTrace": [
"AlexaSkill.execute (/var/task/AlexaSkill.js:83:62)",
"exports.handler (/var/task/index.js:170:10)"
]
}
Run Code Online (Sandbox Code Playgroud)
看起来像AlexaSkill.js的第83行:
console.log("session applicationId: " + event.session.application.applicationId);
Run Code Online (Sandbox Code Playgroud)
session属性未定义.不确定是什么造成的