I am working using aws sam and when try to make sam deploy. I get this error:
Error: Failed to create managed resources: An error occurred (InvalidClientTokenId) when calling the CreateChangeSet operation: The security token included in the request is invalid.
I had already changed my credentials from .aws and changed them using the command aws configure. I also get the error when I try to access to anything online, like if I try to upload a file to a S3 bucket.
Error: botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when calling the UpdateItem operation: The security token included in the request is invalid.
Any ideas?
I guess your credentials are OK but, check again if you are pointing to the right region. That was my problem indeed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With