claudiajs / claudia-bot-builder

Create chat bots for Facebook Messenger, Slack, Amazon Alexa, Skype, Telegram, Viber, Line, GroupMe, Kik and Twilio and deploy to AWS Lambda in minutes

Home Page:https://claudiajs.com/claudia-bot-builder.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InvalidClientTokenId: The security token included in the request is invalid.

thierryskoda opened this issue · comments

* Expected behaviour:
Create the Facebook-messenger bot

* What actually happens:
After exectuting claudia create --region us-east-1 --api-module bot. I've received the error
[InvalidClientTokenId: The security token included in the request is invalid.]

*** Which bot engine (facebook, skype...):**
Facebook

* Link to a minimal, executable project that demonstrates the problem:
https://github.com/thierryskoda/claudia-facebook-bot-example

* Steps to install the project:
npm install

* Steps to reproduce the problem:
execute claudia create --region us-east-1 --api-module bot

**Screenshot*
screen shot 2016-08-11 at 4 42 47 pm

does the AWS profile you run this under have access to IAM?

Hum how can I know that? I'm really beginner with AWS

is the profile you are using for AWS a main account or a sub-account with restricted privileges? Check out https://claudiajs.com/tutorials/installing.html (the part about setting access credentials) to see where AWS SDK looks for profile info

Oh Thank you very much! It works right now. Those tutorials help a lot!