Comments (10)
OK, solved: I'm an idiot. I had an incorrect lambda handler function specified (lambda_function.lambda_handler, not lambda.lambda_handler), which I found when I tried explicitly testing my lambda.
@briankel Suggestion for the documentation: at the end of the "Create the Lambda function" section, before "Configure skill", I suggest adding a step of explicitly testing your lambda to check it has been correctly configured.
from alexa-smarthome.
For me, the issue was that I used Python 2.7 instead of Python 3.6 in Lambda. That change fixed it for me.
from alexa-smarthome.
Please check your CloudWatch logs for any clues.
Please also make sure you added the redirect URI for your authentication provider. (in the instructions see "Provide Redirect URL's to LWA:"
Regarding your other question, Alexa is only supported as a trigger in specific AWS regions. For Europe you should be able to make this work in eu-west-1.
from alexa-smarthome.
Thanks for the reply.
I believe I have the redirect URIs set up correctly: under Developer Console->Apps & Services->Security Profiles->->Web Settings then I have three allowed return URLs:
https://layla.amazon.com/api/skill/link/<code>
https://pitangui.amazon.com/api/skill/link/<code>
https://alexa.amazon.co.jp/api/skill/link/<code>
which match those configured for the redirect URLs under Developer Console->Alexa->->Configuration.
Cloudwatch is enabled for my lambda, but is not showing any attempted accesses, and there are no traces showing up in X-Ray. I can't see any way to add Cloudwatch logs to my skill. Is there a way to do so?
from alexa-smarthome.
Hmm...
No, you can't add CloudWatch to your skill specifically - just to the Lambda.
I don't have any immediate ideas for you, just to go back to the 15-minute skill instructions and make sure you've followed each step exactly. There are a lot of steps and it's easy to miss one. If I think of other ideas I'll post them back here.
from alexa-smarthome.
HI Calum,
Were you able to fix this issue you had? Facing with the same and came across this ticket. Appreciate any help.
Thanks
Sindhu
from alexa-smarthome.
Same issue here @briankel.
from alexa-smarthome.
Still no success. I wondered if it might be down to the issues raised in #28 so went through it again with an English (UK) skill and an EU (Ireland) lambda, but precisely the same error is occurring.
from alexa-smarthome.
Quick note for anyone else running into similar issue... for me, creating my lambda function in us-east-1
instead of us-west-2
(my default) made it work.
from alexa-smarthome.
Same issue here @briankel
I have no idea to fix it.
I can't see any Cloudwatch logs about it.
Thanks
from alexa-smarthome.
Related Issues (20)
- Adding my own development device esp8266 in alexa HOT 2
- About RTCSessionController API
- Is this repo maintained ?? HOT 16
- Alexa HOT 1
- Unable to get Access token using authorization code for a skill in lambda function HOT 3
- when testing smart home ample device it shows error HOT 2
- Validation schema fails to parse in Node.js HOT 7
- Add validation for Camera PTZ controllers HOT 1
- Getting Domain not whitelisted for using LWA javaScript SDK HOT 1
- Capability Evaluations & Test plans HOT 1
- "errorMessage": "2021-05-11T08:48:54.169Z d01782c6-b615-4b06-96b2-ac313bae6d72 Task timed out after 3.06 seconds"
- Adding Alexa.Cooking interfaces into the Validation Schemas? HOT 1
- Documentation misses an important gotcha HOT 1
- How to get utterance activity keys HOT 3
- Schema validation for endpointId using (.) periods HOT 1
- Alexa.PercentageController empty value in payload HOT 1
- Fixes for schema broken by commit 276150255d1843021dcd8b47809c0f79a6660517 HOT 4
- Hm, I'm having trouble reaching null. [Alexa] PowerController TurnOff 0E:38:82:9E:54:6B undefined null HOT 3
- How to report bugs? HOT 1
- Can Alexa Smart Home Lambda skill response with custom so far? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexa-smarthome.