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?