jbnunn / Alexa-NestThermostat

Use your Amazon Echo and the Alexa Skills Kit to control your Nest Thermostat.
5 stars 0 forks source link

'session': KeyError #1

Open brinktechnology opened 8 years ago

brinktechnology commented 8 years ago

I keep getting the following error when I try to run the main.py. In the original code, I used my own alexa-skills-id. Can you help?

START RequestId: 805ca316-0b07-11e6-a399-25dc97c4f16f Version: $LATEST 'session': KeyError Traceback (most recent call last): File "/var/task/lambda_function.py", line 36, in lambda_handler if event ['session']['application']['applicationId'] != "amzn1.echo-sdk-ams.app.": KeyError: 'session'

END RequestId: 805ca316-0b07-11e6-a399-25dc97c4f16f REPORT RequestId: 805ca316-0b07-11e6-a399-25dc97c4f16f Duration: 0.62 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 22 MB

jbnunn commented 8 years ago

On line 35 can you add puts event and see what your debug output shows?