Some questions about Dify's chat messages API #19300

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

Originally created by @wbext on GitHub (Oct 15, 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.8.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I call the chat-message API, the curl command is copied directly from the documentation, and the application connectivity for this API is normal. The API can be called successfully when I don’t add the file field. Now, the problem occurs: when I pass a list (containing three different image URLs) to the url field, it returns an error stating that "the number of requests exceeds three". I currently suspect there is an issue with the request format, because passing a single image URL to the url field works without any problems. Could it be that the url field does not support passing values in list format?

Image Image

✔️ Expected Behavior

What I expect to happen is that the interface accepts these image URLs and returns results, instead of constantly exceeding the request limit.

Actual Behavior

No response

Originally created by @wbext on GitHub (Oct 15, 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.8.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce When I call the chat-message API, the curl command is copied directly from the documentation, and the application connectivity for this API is normal. The API can be called successfully when I don’t add the file field. Now, the problem occurs: when I pass a list (containing three different image URLs) to the url field, it returns an error stating that "the number of requests exceeds three". I currently suspect there is an issue with the request format, because passing a single image URL to the url field works without any problems. Could it be that the url field does not support passing values in list format? <img width="476" height="724" alt="Image" src="https://github.com/user-attachments/assets/3e4db97c-f969-4368-9cc4-082e20527c4f" /> <img width="435" height="511" alt="Image" src="https://github.com/user-attachments/assets/c1c4d0e6-1afa-493f-891d-f2cc81d2d4d9" /> ### ✔️ Expected Behavior What I expect to happen is that the interface accepts these image URLs and returns results, instead of constantly exceeding the request limit. ### ❌ Actual Behavior _No response_
yindo added the 🙋‍♂️ question label 2026-02-21 19:58:09 -05:00
yindo closed this issue 2026-02-21 19:58:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19300