Error on ask deploy
PabloLerma opened this issue · comments
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:
Expected Behavior
ask deploy
to configure AWS infra and deploy the skill
Current Behavior
I'm getting an error running ask deploy
CLI Snapshot
If applicable, add screenshots to help explain your problem.
Steps to Reproduce (for bugs)
ask new --template-url https://github.com/alexa-samples/skill-sample-nodejs-fact.git
- Default setupcd lamdba & yarn install & cd ..
ask deploy
Possible Solution
I don't know but ask deploy
should prompt better error info or not error at all for basic Skill templates.
Your Environment and Context
- ask-cli version: 2.28.0
- Operating System and version: macOS Monterrey 12.5.1
- Node.js version used for development: v15.12.0
- NPM version used for development: I use yarn 1.22.10
That seems to be an error reported back by the SMAPI service call. Do you happen to see a Skill Id after running the last ask deploy command? did it created a Skill in the Developer console portal? You can also see your full list of skills by running ask smapi list-skills-for-vendor
Hey @doiron ! Thanks for helping!
Sadly no, the output that I get after running ask deploy
is the same one as you can see on the screenshot, just "message": "Required parameter(s) missing in the request."
Running with ask deploy --debug
I can see the following requests:
GET_NPM_REGISTRY
: 200 OKCREATE-UPLOAD
: 200 OKUPLOAD-SKILL-PACKAGE
: 200 OKIMPORT-PACKAGE
: 400 Bad Request (POST https://api.amazonalexa.com/v1/skills/imports
)
Running ask smapi list-skills-for-vendor
returns:
[Error]: {
"message": "Required parameter vendorId was null or undefined when calling callListSkillsForVendorV1.",
"stack": ...stacktrace...,
"detail": {}
}
Never mind, I had issues with ask configure
and I thought I had it properly configured but I didn't sign in properly on AWS developer account hence I didn't have a venderId. Going to https://developer.amazon.com/mycid.html, configuring my account and running ask configure
again fixed ask deploy
. Thanks!