This error occurs when json.dumps(json_data, ensure_ascii=False) is configured in the Python script. The following figure shows the error.

By default, DataArts Studio uses the Python2 interpreter. This interpreter uses the ASCII encoding format by default and cannot encode Chinese characters. As a result, the error occurs. Therefore, you need to convert the encoding format to UTF-8.

# -*- coding: utf-8 -*-; Alternatively, set the encoding format for the host, that is, create a sitecustomize.py file in the Lib\site-packages folder in the Python installation directory and write the following information in the file:
# encoding=utf8
#import sys
#reload(sys)
#sys.setdefaultencoding('utf8')