Starting getting this error when running a simple ‘aws s3 ls’
An error occurred (InvalidToken) when calling the ListBuckets operation: The provided token is malformed or otherwise invalid.
My current version:
% aws --version aws-cli/2.0.59 Python/3.7.4 Darwin/20.1.0 exe/x86_64
Downloaded latest version and upgraded and problem fixed. New version is now:
% aws --version aws-cli/2.1.3 Python/3.7.4 Darwin/20.1.0 exe/x86_64