question

mbrookes avatar image
mbrookes asked

ask deploy error: Regionalized endpoints must not be empty.

I'm getting this error when trying to deploy the sample nodejs high-low game:

skill-sample-nodejs-highlowgame$ ask deploy

[Warn]: Changed the property name from 'skillManifest' to 'manifest' in skill.json in order to fit the v1 Alexa Skill Management APIs accepted format.

[Warn]: Changed the property name from 'skillManifest' to 'manifest' in .ask/config in order to fit the v1 Alexa Skill Management APIs accepted format.

-------------------- Create Skill Project --------------------

Profile for the deployment: [default]

Skill Id: amzn1.ask.skill.56373e14-ffff-ffff-ffff-a4cfef1d8a96

Skill deployment finished.

Model deployment finished.

[Warn]: Lambda deployment skipped, since AWS credentialsfor profile: [default] is missing. CLI lambda functionalities can be enabled by running `ask init` again to add 'aws_profile' to ASK cli_config

Call enable-skill error.

Error code: 403

{

"message": "Skill is not ready for enablement.",

"violations": [

{

"message": "Regionalized endpoints must not be empty."

}

]

}

I have run `ask init` multiple times, and authenticated in the browser window that opens.

I'm following the README here: https://github.com/alexa/skill-sample-nodejs-highlowgame

skilllambdaask cli
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

mbrookes avatar image
mbrookes answered

Seems there's a critical step missing from the README. I had to follow the (outdated) instructions here: https://developer.amazon.com/docs/smapi/set-up-credentials-for-an-amazon-web-services-account.html

I used the "AWSLambdaFullAccess" policy for better or worse.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.