Skip to content

Commit ae3a2cb

Browse files
authored
fix: json parse err when http node send request (#11001)
1 parent 6c8e208 commit ae3a2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/core/workflow/nodes/http_request/executor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def _init_body(self):
108108
self.content = self.variable_pool.convert_template(data[0].value).text
109109
case "json":
110110
json_string = self.variable_pool.convert_template(data[0].value).text
111-
json_object = json.loads(json_string)
111+
json_object = json.loads(json_string, strict=False)
112112
self.json = json_object
113113
# self.json = self._parse_object_contains_variables(json_object)
114114
case "binary":

0 commit comments

Comments
 (0)