The security token included in the request is invalid
Error Message
The security token included in the request is invalid
Problem
This happens when the AWS credentials used for your Serverless command are invalid. Or if they have not been configured on your machine.
Solution
Double-check your credentials. Or you can create a new pair of credentials. You can follow the chapter on creating and IAM user over on SST.
If you are trying to set up your local machine, run aws configure
to set your credentials up.
Help improve this page. Edit it with GitHub
Was this page helpful? Let us know via Twitter
Do your Serverless deployments take too long? Incremental deploys in Seed can speed it up 100x!
Learn More