2
votes

I try to connect my Lambda function Amazon Alexa Skill, but fail in the beginning of discovery.

In Alexa App, I enable and link my Skill using LWA account. When I say, "Alexa, discover smart devices", I can see my lambda log with request error.

TypeError: Cannot read property 'namespace' of undefined

What's condition to let Alexa send me request header with namespace "Alexa.ConnectedHome.Discovery"?

1

1 Answers

1
votes

I can receive Request with content finally. The problem is coming from skill Payload version option. I chose V3 (preferred) option before, then nothing received. After I switched to V2 (legacy), Discover handler could be triggered.