alexa / alexa-skills-kit-sdk-for-python

The Alexa Skills Kit SDK for Python helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-python/overview.html
Apache License 2.0
812 stars 206 forks source link

ask util generate-lwa-tokens Not Recognised #144

Closed goochi1 closed 4 years ago

goochi1 commented 4 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ x] Other... Please describe:

ask util generate-lwa-tokens Not Recognised

Expected Behavior

To be able to get an auth token for ASK pythin

Current Behavior

this documention:https://developer.amazon.com/en-US/docs/alexa/smapi/get-access-token-smapi.html is telling me to run ask util generate-lwa-tokens but i am getting a command back saying 'Command not recognized. Please run "askx util" to check the user instruction'

Python version info

nikhilym commented 4 years ago

Hey @goochi1 , thanks for raising this bug. ASK CLI released a major version (v2) last week, and refactored some of these commands. We will check with CLI to figure out the alternatives. For now, you can use the ASK CLI v1 to get the access token. Please let us know if you have any issues.

RonWang commented 4 years ago

Hi @goochi1 ,

Please track the issue at https://github.com/alexa/ask-cli/issues/119. We just create this issue to make sure it will be addressed.

Thanks, Ron

goochi1 commented 4 years ago

Thanks! the main AWS docs are incorrect too. glad i wasnt being an idoit :)

nikhilym commented 4 years ago

Thanks! the main AWS docs are incorrect too. glad i wasnt being an idoit :)

I think you meant the Alexa docs. Yeah, the CLI team will work with the documentation team to fix that as well. Thanks for pointing it out.

goochi1 commented 4 years ago

Hi I tried uisng the original command and it still does not work. I also tried to find an update in the documentation but i can't see a change. Can you help please?

nikhilym commented 4 years ago

@goochi1 can you please let us know what did you try? I could get my LWA credentials using both ASK CLI v1 and v2.

Here is what I tried :

Please try either of the approaches and let us know if you are still facing issues, with the reproducible steps. Thanks.

nikhilym commented 4 years ago

@goochi1 , I hope you were able to get this working. I am closing this issue. Please reopen with further information if you are still facing problems. Thanks.