aws cli - An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.
While tryin to configure aws cli, i stumble into this errror.
"An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid."
Validated that my access key is correct and ran "aws configure" a couple of times to ensure things are working well. Yet the error keep on coming back.
Finally, I was able to resolve it by not specifying a specific region.
Comments