Recall the knowledge base in the iteration of the workflow and report errors when executing #6441

Closed
opened 2026-02-21 18:15:45 -05:00 by yindo · 4 comments
Owner

Originally created by @wangiii on GitHub (Oct 30, 2024).

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

0.10.2

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Recall the knowledge base in the iteration of the workflow and report errors when executing
image

✔️ Expected Behavior

Expected to run successfully

Actual Behavior

Report an error:Run failed: not supported value ], [

Originally created by @wangiii on GitHub (Oct 30, 2024). ### 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 0.10.2 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce Recall the knowledge base in the iteration of the workflow and report errors when executing <img width="1593" alt="image" src="https://github.com/user-attachments/assets/0955b7ec-d642-4459-9682-ba0de9460643"> ### ✔️ Expected Behavior Expected to run successfully ### ❌ Actual Behavior Report an error:Run failed: not supported value [[], []]
yindo added the 🐞 bug label 2026-02-21 18:15:45 -05:00
yindo closed this issue 2026-02-21 18:15:45 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 30, 2024):

The error message "Run failed: not supported value ], [" suggests that there might be an issue with the data being processed in the workflow iteration. This error could be related to unsupported data types or structures being used in the workflow. Dify supports various data types and structures, such as arrays and objects, but it seems that the specific value [[], []] is not supported in this context [1].

To troubleshoot this issue, consider the following steps:

  1. Check Data Types: Ensure that the data being passed through the workflow nodes is of a supported type. Avoid using nested empty arrays or structures that might not be handled correctly.

  2. Validate Input Data: Verify that the input data to the knowledge base recall step is correctly formatted and adheres to the expected input format. The input should be a valid query, and any required fields should be populated [2].

  3. Review Workflow Configuration: Double-check the configuration of the workflow nodes, especially those involved in data processing and iteration. Ensure that they are set up to handle the data types being used.

  4. Error Logging: Utilize Dify's error logging capabilities to gain more insights into where the error might be occurring. This can help identify if the issue is with a specific node or data transformation step [3].

By addressing these areas, you may be able to resolve the error and ensure the workflow runs successfully.

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Oct 30, 2024): <!-- Answer --> The error message "Run failed: not supported value [[], []]" suggests that there might be an issue with the data being processed in the workflow iteration. This error could be related to unsupported data types or structures being used in the workflow. Dify supports various data types and structures, such as arrays and objects, but it seems that the specific value `[[], []]` is not supported in this context <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/variables.md)</sup>. To troubleshoot this issue, consider the following steps: 1. **Check Data Types**: Ensure that the data being passed through the workflow nodes is of a supported type. Avoid using nested empty arrays or structures that might not be handled correctly. 2. **Validate Input Data**: Verify that the input data to the knowledge base recall step is correctly formatted and adheres to the expected input format. The input should be a valid query, and any required fields should be populated <sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/node/knowledge-retrieval.md)</sup>. 3. **Review Workflow Configuration**: Double-check the configuration of the workflow nodes, especially those involved in data processing and iteration. Ensure that they are set up to handle the data types being used. 4. **Error Logging**: Utilize Dify's error logging capabilities to gain more insights into where the error might be occurring. This can help identify if the issue is with a specific node or data transformation step <sup>[[3]](https://github.com/langgenius/dify/blob/main/api/core/workflow/workflow_entry.py)</sup>. By addressing these areas, you may be able to resolve the error and ensure the workflow runs successfully. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@Modas-Li commented on GitHub (Nov 5, 2024):

same issue, how?

@Modas-Li commented on GitHub (Nov 5, 2024): same issue, how?
Author
Owner

@wangiii commented on GitHub (Nov 5, 2024):

same issue, how? 

The fix has been merged into the main branch
https://github.com/langgenius/dify/pull/10060

@wangiii commented on GitHub (Nov 5, 2024): > same issue, how?  The fix has been merged into the main branch https://github.com/langgenius/dify/pull/10060
Author
Owner

@Modas-Li commented on GitHub (Nov 5, 2024):

Thank you for your email !您好,你的邮件我已收到,我会尽快给你回复。

@Modas-Li commented on GitHub (Nov 5, 2024): Thank you for your email !您好,你的邮件我已收到,我会尽快给你回复。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6441