I successfully authenticate with 2 factor but when using aws s3 ls I keep getting
aws s3 ls
An error occurred (InvalidToken) when calling the ListBuck
Please delete .aws/credentials file from your users account and reconfigure your aws cli. If you already associated with another account then there are high chances of this type of error.