Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/util/json.py", line 58, in save_json

json_data = json.dumps(data, sort_keys=True, indent=4, cls=encoder)


 "/usr/local/lib/python3.7/json/__init__.py", line 238, in dumps

**kw).encode(obj)


 "/usr/local/lib/python3.7/json/encoder.py", line 201, in encode

chunks = list(chunks)


 "/usr/local/lib/python3.7/json/encoder.py", line 431, in _iterencode

yield from _iterencode_dict(o, _current_indent_level)


 "/usr/local/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict

yield from chunks


 "/usr/local/lib/python3.7/json/encoder.py", line 438, in _iterencode

o = _default(o)


 "/usr/local/lib/python3.7/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type UUID is not JSON serializable

Traceback (most recent call last):


 ".\ImageAsyncScanRequestSample.py", line 22, in <module>

response = clt.do_action_with_exception(request)


 "C:\Python36\lib\site-packages\aliyunsdkcore\client.py", line 259, in do_action_with_exception

status, headers, body = self.implementation_of_do_action(acs_request)


 "C:\Python36\lib\site-packages\aliyunsdkcore\client.py", line 225, in implementation_of_do_action

http_response = self._make_http_response(endpoint, request, signer)


 "C:\Python36\lib\site-packages\aliyunsdkcore\client.py", line 187, in _make_http_response

header, url = signer.sign(self.__region_id, request)


 "C:\Python36\lib\site-packages\aliyunsdkcore\auth\signers\access_key_signer.py", line 31, in sign

header = request.get_signed_header(region_id, cred.access_key_id, cred.access_key_secret)


 "C:\Python36\lib\site-packages\aliyunsdkcore\request.py", line 383, in get_signed_header

md5_str = md5_tool.get_md5_base64_str(self.get_content())


 "C:\Python36\lib\site-packages\aliyunsdkcore\auth\utils\md5_tool.py", line 39, in get_md5_base64_str

return str(base64.encodebytes(_get_md5(content)).strip(), "utf-8")


 "C:\Python36\lib\site-packages\aliyunsdkcore\auth\utils\md5_tool.py", line 34, in _get_md5

m.update(bytearray(content, "utf-8"))
TypeError: encoding or errors without a string argument