From ae3a2cb272dc0729718ef0d6dd854692b98aaf9d Mon Sep 17 00:00:00 2001 From: litterGuy Date: Sun, 24 Nov 2024 14:19:48 +0800 Subject: [PATCH] fix: json parse err when http node send request (#11001) --- api/core/workflow/nodes/http_request/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/workflow/nodes/http_request/executor.py b/api/core/workflow/nodes/http_request/executor.py index 80b322b068ec5..22ad2a39f62fa 100644 --- a/api/core/workflow/nodes/http_request/executor.py +++ b/api/core/workflow/nodes/http_request/executor.py @@ -108,7 +108,7 @@ def _init_body(self): self.content = self.variable_pool.convert_template(data[0].value).text case "json": json_string = self.variable_pool.convert_template(data[0].value).text - json_object = json.loads(json_string) + json_object = json.loads(json_string, strict=False) self.json = json_object # self.json = self._parse_object_contains_variables(json_object) case "binary":