The result of the code execution cannot be passed to the HTTP tool. #18022

Closed
opened 2026-02-21 19:42:39 -05:00 by yindo · 0 comments
Owner

Originally created by @gongshaojie12 on GitHub (Sep 23, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Start Node:

Image

Code node:

Image

HTTP node:

Image

When the prompt and urls in the HTTP node receive values from the Start node, the request works normally. However, when the prompt and urls in the HTTP node receive values from the Code node, a 400 Bad Request error occurs. What is the reason for this, and how can it be resolved? This issue exists in both versions 1.8.1 and 1.9.0.

What's even more puzzling is that it worked fine yesterday, but today it doesn't work at all, even though no changes were made.

✔️ Expected Behavior

The HTTP node can normally receive values from the Code node.

Actual Behavior

No response

Originally created by @gongshaojie12 on GitHub (Sep 23, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Start Node: <img width="384" height="419" alt="Image" src="https://github.com/user-attachments/assets/e45e13a9-9f58-44ca-9d96-19aadee79a9c" /> Code node: <img width="403" height="538" alt="Image" src="https://github.com/user-attachments/assets/62328bd7-bac7-4b5c-870a-0e40f593232c" /> HTTP node: <img width="398" height="531" alt="Image" src="https://github.com/user-attachments/assets/188e69ca-a660-48be-9b0d-1009ca539905" /> When the `prompt` and `urls` in the HTTP node receive values from the `Start node`, the request works normally. However, when the` prompt` and `urls` in the HTTP node receive values from the `Code node`, a `400 Bad Request` error occurs. What is the reason for this, and how can it be resolved? This issue exists in both versions 1.8.1 and 1.9.0. What's even more puzzling is that it worked fine yesterday, but today it doesn't work at all, even though no changes were made. ### ✔️ Expected Behavior The HTTP node can normally receive values from the Code node. ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:42:39 -05:00
yindo closed this issue 2026-02-21 19:42:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#18022