[Bug] Cannot upload files through remote URL during Workflow test run #22182

Closed
opened 2026-02-21 20:16:04 -05:00 by yindo · 2 comments
Owner

Originally created by @AkiraVoid on GitHub (Feb 10, 2026).

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.12.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create a Workflow with User Input as start node
  2. In User Input, add a required file variable which accepts remote URL as upload method
  3. Click Test Run on this Workflow, Dify will asks to upload the file
  4. Copy and paste a remote file URL and then click OK
  5. Dify will show an error message "File upload failed". Check the API response in Developer Tools, we get a 500 Internal Server Error to endpoint POST /console/api/files/upload, and a message in response body: "current_user must be an Account instance"

Note: Upload from local files works perfectly.

✔️ Expected Behavior

Dify should support uploading by remote URL.

Actual Behavior

Cannot upload files through remote URL during Workflow test run.

Originally created by @AkiraVoid on GitHub (Feb 10, 2026). ### 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.12.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Create a Workflow with User Input as start node 2. In User Input, add a required file variable which accepts remote URL as upload method 3. Click Test Run on this Workflow, Dify will asks to upload the file 4. Copy and paste a remote file URL and then click OK 5. Dify will show an error message "File upload failed". Check the API response in Developer Tools, we get a 500 Internal Server Error to endpoint `POST /console/api/files/upload`, and a message in response body: "current_user must be an Account instance" **Note:** Upload from local files works perfectly. ### ✔️ Expected Behavior Dify should support uploading by remote URL. ### ❌ Actual Behavior Cannot upload files through remote URL during Workflow test run.
yindo added the 🐞 bug label 2026-02-21 20:16:04 -05:00
yindo closed this issue 2026-02-21 20:16:04 -05:00
Author
Owner

@fatelei commented on GitHub (Feb 11, 2026):

i see the error

@fatelei commented on GitHub (Feb 11, 2026): i see the error
Author
Owner

@AmuMr commented on GitHub (Feb 11, 2026):

In the same environment, the URL returned for the uploaded file is inaccessible.

Image
@AmuMr commented on GitHub (Feb 11, 2026): In the same environment, the URL returned for the uploaded file is inaccessible. <img width="1592" height="567" alt="Image" src="https://github.com/user-attachments/assets/9c34ea6a-b94a-4aa8-8202-2312c286df6b" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22182