Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error]: Failed to retrieve the template list, please see the details from the error response. #428

Closed
rubenturcios opened this issue Mar 4, 2022 · 2 comments

Comments

@rubenturcios
Copy link

rubenturcios commented Mar 4, 2022

I'm submitting a...


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

When using ask new (and aws new --profile default) to set up a new Alexa Skill, I receive a 403 error from the AmazonS3 server.

Expected Behavior

ask new should initialize a new project folder with desired name and required skill folders

Current Behavior

When using ask new (and aws new --profile default) to set up a new Alexa Skill, I receive a 403 error from the AmazonS3 static file server after picking the requested run time (fails for any runtime) and picking either AWS with CF or AWS with Lambda

My aws cli is configured correctly as I have been able to make aws cli request with the default profile set to other services. This command was working correctly up until recently. My IAM user in the aws account has administrator permissions set.

I have ran ask configure and configured it to the default account, and the command runs with no errors. I have uninstalled and reinstalled the ask-cli module multiple times as well.

CLI Snapshot
If applicable, add screenshots to help explain your problem.
Screen Shot 2022-03-04 at 2 29 59 PM

Steps to Reproduce (for bugs)

$ ask new (or ask new --profile default)
? Choose the programming language you will use to code your skill: NodeJS
? Choose a method to host your skill's backend resources: AWS Lambda

Error is returned

Possible Solution

Your Environment and Context

  • ask-cli version: 2.26.0
  • Operating System and version: MacOS BigSur 11.5.1 (20G80)
  • Node.js version used for development: v16.3.0
  • NPM version used for development: 8.1.0
@tkm22
Copy link

tkm22 commented Mar 7, 2022

Thanks for letting us know! The issue has been identified. Our CLI templates store in S3 buckets, we changed access policy last week due to internal policy, that's why the templates cannot be access and threw 403 error. Now the access policy has been reverted back, and the issue is solved, so closing it now, and please let us know if you find anything else broken, thanks!

@tkm22 tkm22 closed this as completed Mar 7, 2022
@rubenturcios
Copy link
Author

Thank you for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants