From command line,I tried to show my current config.
aws sts get-caller-identity
Shows empty line and
Unknown output type: JSON
I check my config
[default]
region = eu-west-1
output = JSON
source_profile = monzo-konzo
How to fix this?
Your output format is in entire capitals. As per the documentation it should be json.
For more information about output types take a read of this documentation.