question

newuser-990ae402-f52d-48a7-81a7-225ec04c4605 avatar image

I am getting `InvalidClientTokenId` when trying to deploy hello world skill

I am getting `InvalidClientTokenId` when trying to deploy hello world skill. This is the first time I am trying to build an Alexa skill so I have no idea what should I do to troubleshoot this. Here are the steps to reproduce: login to aws.amazon.com and developer.amazon.com ``` npm install -g ask-cli ask init ask new cd my-awesome-skill ask deploy -------------------- Create Skill Project -------------------- Profile for the deployment: [default] Skill Id: amzn1.ask.skill.9c6291b6-7a2e-493a-a6ac-d2139773f269 Skill deployment finished. Model deployment finished. Create role error. InvalidClientTokenId: The security token included in the request is invalid. ``` Also, what is my next step? How to test (localy or on my dot) my hello world skill?

Thanks!

skillask clismapi
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

AwesomeAaron@AMZN avatar image
AwesomeAaron@AMZN answered

It seems that you either use invalid aws credentials or the aws credentials ask-cli uses don't have enough access in order to create lambda function for you.

I think this page might be useful:

https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/set-up-credentials-for-an-amazon-web-services-account

10 |5000

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