1.5.0 Error When Uploading Images with Unsupported Model in Chatflow Agent Node #417

Closed
opened 2026-02-16 10:19:21 -05:00 by yindo · 1 comment
Owner

Originally created by @mir134 on GitHub (Jul 1, 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.5.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Title
Chatflow Application: Agent Node Using a Model Without Image Recognition Support Throws "One or more parameters specified in the request are not valid.
" Error on Image Upload

Reproduction Steps

Create a Chatflow application with image upload enabled.

Add an Agent Node.

Configure the Agent Node as follows:

Agent Strategy: functionCalling

Model: DeepSeekV3 or any model without image recognition support

Memory: Enabled

In the application chat interface:

Upload an image.

Send any follow-up message → Triggers the error.

Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: [volcengine_maas] Error: PluginInvokeError: {"args":{},"error_type":"ArkBadRequestError","message":"Error code: 400 - {'error': {'code': 'InvalidParameter', 'message': 'One or more parameters specified in the request are not valid. Request id: 021751421461028d89ec6df196db1bc6f02f00164241b07b1a249', 'param': '', 'type': 'BadRequest'}}, request_id: 20250702095740YmxbmQVOU7IANMt3rC8I"}"}

Image

Image

Image

✔️ Expected Behavior

The system support image uploads while allowing users to select models that do not support image recognition, without throwing errors.

Actual Behavior

Image

Originally created by @mir134 on GitHub (Jul 1, 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.5.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Title Chatflow Application: Agent Node Using a Model Without Image Recognition Support Throws "One or more parameters specified in the request are not valid. " Error on Image Upload Reproduction Steps Create a Chatflow application with image upload enabled. Add an Agent Node. Configure the Agent Node as follows: Agent Strategy: functionCalling Model: DeepSeekV3 or any model without image recognition support Memory: Enabled In the application chat interface: Upload an image. Send any follow-up message → Triggers the error. Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: [volcengine_maas] Error: PluginInvokeError: {\"args\":{},\"error_type\":\"ArkBadRequestError\",\"message\":\"Error code: 400 - {'error': {'code': 'InvalidParameter', 'message': 'One or more parameters specified in the request are not valid. Request id: 021751421461028d89ec6df196db1bc6f02f00164241b07b1a249', 'param': '', 'type': 'BadRequest'}}, request_id: 20250702095740YmxbmQVOU7IANMt3rC8I\"}"} ![Image](https://github.com/user-attachments/assets/aff4d433-d8b0-4c91-bd3f-75ab06083f93) ![Image](https://github.com/user-attachments/assets/f80d2d82-a680-4dd7-bbac-ec9fe5687add) ![Image](https://github.com/user-attachments/assets/d75dff24-fc64-466c-8577-138693fe5b20) ### ✔️ Expected Behavior The system support image uploads while allowing users to select models that do not support image recognition, without throwing errors. ### ❌ Actual Behavior ![Image](https://github.com/user-attachments/assets/f1849d2c-e11f-4279-9e0e-b90fa04908c2)
yindo closed this issue 2026-02-16 10:19:21 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

Hi, @mir134. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that in Dify version 1.5.0, uploading images in a Chatflow Agent Node with a model lacking image recognition (e.g., DeepSeekV3) causes a "One or more parameters specified in the request are not valid" error.
  • The error occurs after the image upload and subsequent message, resulting in a PluginInvokeError due to invalid request parameters.
  • There has been no further activity or comments on this issue since your initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 19, 2025): Hi, @mir134. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that in Dify version 1.5.0, uploading images in a Chatflow Agent Node with a model lacking image recognition (e.g., DeepSeekV3) causes a "One or more parameters specified in the request are not valid" error. - The error occurs after the image upload and subsequent message, resulting in a PluginInvokeError due to invalid request parameters. - There has been no further activity or comments on this issue since your initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#417