An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.

0 votes

Hi Guys,

I am trying to test the AWS credentials in my Windows system. But it is showing me the below command.

$ aws sts get-caller-identity
An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.            
Sep 22 in AWS by akhtar
• 27,980 points
245 views

1 answer to this question.

0 votes

Hi@akhtar,

I think there is a problem with your AWS credentials. So check the credentials and set it properly using the aws configure command.

$ aws configure
answered Sep 22 by MD
• 64,820 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer