Dify workflow, HTTP request read url image, next node is CODE excute node can not mapping the HTTP output files to CODE Input Variables #11197

Closed
opened 2026-02-21 18:56:46 -05:00 by yindo · 0 comments
Owner

Originally created by @MingFan2025 on GitHub (Mar 15, 2025).

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0 and 1.01

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Thank you, I am Dify new user,new user but start from 1.0, and update to 1.01 just now,

my workflow,
START -> HTTP -> CODE -> LLM -> END
Image

✔️ Expected Behavior

what I want is
START provide the image url,
HTTP download the image to local,
CODE encode the image to base64 ,
LLM recognition the base64 image and return prompt text,
END output the image prompt text,

Actual Behavior

Image

START OK
HTTP runing OK
CODE error

START
Image

HTTP runing
Image
Image

and the image can download from local server, but it is .bin format, and the original url image is .jpg
Image


HTTP output have files, please see follow,
Image

my main confuse is in the CODE can not see the HTTP output.files in the Input arg setting,
Image

even in the LLM node, can see HTTP.output.files, please see,
Image

the END node can see it too
Image

I am new use of Dify, but it is really good tool and I am really confuse on this trouble, please help me, thank you every one.

Originally created by @MingFan2025 on GitHub (Mar 15, 2025). ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0 and 1.01 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Thank you, I am Dify new user,new user but start from 1.0, and update to 1.01 just now, my workflow, START -> HTTP -> CODE -> LLM -> END ![Image](https://github.com/user-attachments/assets/d3c62669-1bc7-4d8e-a4dd-62903de4168d) ### ✔️ Expected Behavior what I want is START provide the image url, HTTP download the image to local, CODE encode the image to base64 , LLM recognition the base64 image and return prompt text, END output the image prompt text, ### ❌ Actual Behavior ![Image](https://github.com/user-attachments/assets/4732c6f1-f9dc-4ac6-9a97-c571b7d92146) START OK HTTP runing OK CODE error START ![Image](https://github.com/user-attachments/assets/fa36fc29-8d46-40ed-86b4-05de796a9708) HTTP runing ![Image](https://github.com/user-attachments/assets/56862316-f01c-4267-8da0-6367f357a292) ![Image](https://github.com/user-attachments/assets/9a1f4d19-8025-4256-93f6-f7d9e21e3a80) and the image can download from local server, but it is .bin format, and the original url image is .jpg ![Image](https://github.com/user-attachments/assets/7656b116-79d5-4bec-9a0c-bea3e476bb05) ----------------------------------------------------------------------------------------------- HTTP output have files, please see follow, ![Image](https://github.com/user-attachments/assets/bfa06bed-665b-4cba-bc71-dd0be3c56af3) my main confuse is in the CODE can not see the HTTP output.files in the Input arg setting, ![Image](https://github.com/user-attachments/assets/5b6c07c2-9b4e-4ef9-b366-7d97fbdd50bb) even in the LLM node, can see HTTP.output.files, please see, ![Image](https://github.com/user-attachments/assets/82cfd6dd-dff1-40e1-ad3d-376f5bb95fff) the END node can see it too ![Image](https://github.com/user-attachments/assets/84525da1-3da3-4cd3-a099-e48369f74307) ----------------------------------------------------------------------------------------------- I am new use of Dify, but it is really good tool and I am really confuse on this trouble, please help me, thank you every one.
yindo closed this issue 2026-02-21 18:56:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11197