Code Monkey home page Code Monkey logo

Comments (10)

cloudon7281 avatar cloudon7281 commented on May 27, 2024 3

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.

itssindhu13 avatar itssindhu13 commented on May 27, 2024 1

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.

briankel avatar briankel commented on May 27, 2024

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.

cloudon7281 avatar cloudon7281 commented on May 27, 2024

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.

briankel avatar briankel commented on May 27, 2024

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.

itssindhu13 avatar itssindhu13 commented on May 27, 2024

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.

muenzpraeger avatar muenzpraeger commented on May 27, 2024

Same issue here @briankel.

from alexa-smarthome.

cloudon7281 avatar cloudon7281 commented on May 27, 2024

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.

sreid avatar sreid commented on May 27, 2024

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.

liaodn avatar liaodn commented on May 27, 2024

Same issue here @briankel

image

I have no idea to fix it.
I can't see any Cloudwatch logs about it.

Thanks

from alexa-smarthome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.