Alexa-Ecovacs
Alexa-Ecovacs copied to clipboard
Response allways null
I'm trying to use youre code. The only modification i did is change from English to Spanish the invocation and the responses, rest is the same code. After setup in every test the following happens : 1 open my skill -> replay ok "Welcome to ...." 2 tell my skill to start cleaning -> replay KO "null" Can you please help with this issue.
Sorry about the delay, I have been away for a while, but we will get this sorted out. Was the skill working before you changed languages? Make sure you keep the same intent names and try to run a CleanIntent test in the Lambda console to see if you get a response. Let me know how this goes.
Added new test CleanIntent, and the result is :
"errorMessage": "'session'", "errorType": "KeyError", "stackTrace": [ [ "/var/task/skill.py", 193, "lambda_handler", "event['session']['application']['applicationId'])"
Looks like your request is not in the expected format and the lambda fonction cannot find the applicationId. Your request should look something like this:
{ "session": { "new": true, "sessionId": "XXXXXXXXXXX", "application": { "applicationId": "amzn1.ask.skill.XXXXXXXXX" }, "attributes": {}, "user": { ......
You can try commenting out line 193 in the lambda console, it should not affect use of the skill.