Traceback (most recent call last):


 "<stdin>", line 4, in <module>


 "/Users/josepcugat/.pyenv/versions/current/lib/python3.6/site-packages/pydantic/error_wrappers.py", line 62, in json

return json.dumps(self.errors(), indent=indent)


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/__init__.py", line 238, in dumps

**kw).encode(obj)


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 201, in encode

chunks = list(chunks)


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 428, in _iterencode

yield from _iterencode_list(o, _current_indent_level)


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 325, in _iterencode_list

yield from chunks


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 437, in _iterencode

o = _default(o)


 "/Users/josepcugat/.pyenv/versions/3.6.8/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'EnumMeta' is not JSON serializable

Traceback (most recent call last):


 "/usr/lib/google-cloud-sdk/platform/gsutil/gsutil", line 21, in <module>

gsutil.RunMain()


 "/usr/lib/google-cloud-sdk/platform/gsutil/gsutil.py", line 123, in RunMain

sys.exit(gslib.__main__.main())


 "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/__main__.py", line 438, in main

user_project=user_project)


 "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/__main__.py", line 767, in _RunNamedCommandAndHandleExceptions

_HandleUnknownFailure(e)


 "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/__main__.py", line 633, in _RunNamedCommandAndHandleExceptions

user_project=user_project)


 "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/command_runner.py", line 411, in RunNamedCommand

return_code = command_inst.RunCommand()


 "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/commands/config.py", line 1211, in RunCommand

configure_auth=configure_auth)


 "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/commands/config.py", line 844, in _WriteBotoConfig


json.loads(key_file_fp.read())


 "/usr/lib/python3.5/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
