"No process rule found" error when syncing Document created with Knowledge Pipeline #17353

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

Originally created by @hemisalo on GitHub (Sep 14, 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

v2.0.0-beta.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Using the Knowledge Pipeline in version v2.0.0-beta.2:

  1. Create a minimal pipeline using any Data Source
  2. Add a General Chunker with Delimiter \n\n, 4000 Max Chunk Length
  3. For Knowledge Base use General Chunk Structure, High Quality Index Method, OpenAI text-embedding-3-large, and any Retrieval Settings
  4. Insert a document
  5. Wait for it to be available
  6. Press Sync
    Image

✔️ Expected Behavior

Syncing to succeed when pressing Sync.

Also worth noting, even though we set 4000 as the Max Chunk Length in the General Chunker, we get the default settings, including Chunks length of 1024

Image Image

Actual Behavior

Instead we get a value_error of "no process rule found"

2025-09-14 06:56:05.172 INFO [Dummy-947] [rag_pipeline_run_task.py:51] - Start run rag pipeline: 7ff912eb-0456-476a-914c-2b534caac94c
2025-09-14 06:56:05.194 WARNING [Thread-949 (_generate_worker)] [graph.py:192] - Failed to create node instance: 1 validation error for DatasourceNodeData
datasource_parameters.limit.type
  Value error, value must be a string, int, float, or bool [type=value_error, input_value='constant', input_type=str]
    For further information visit https://errors.pydantic.dev/2.11/v/value_error
2025-09-14 06:56:05.314 INFO [Dummy-947] [rag_pipeline_run_task.py:133] - Rag pipeline run: 7ff912eb-0456-476a-914c-2b534caac94c completed. Latency: 0.14153429097495973s
2025-09-14 06:56:05.348 INFO [Dummy-947] [trace.py:128] - Task tasks.rag_pipeline.rag_pipeline_run_task.rag_pipeline_run_task[b1c2bae8-a40b-456b-8096-1b1439b35fd5] succeeded in 0.17633723304606974s: None
2025-09-14 06:58:06.209 INFO [MainThread] [strategy.py:161] - Task tasks.retry_document_indexing_task.retry_document_indexing_task[02e67070-3580-4b02-a014-5077b794af9c] received
2025-09-14 06:58:06.217 INFO [Dummy-950] [retry_document_indexing_task.py:61] - Start retry document: 86f256ac-88ac-4d7a-8a8a-bd674c2ce85b
2025-09-14 06:58:06.238 ERROR [Dummy-950] [indexing_runner.py:97] - consume document failed
Traceback (most recent call last):
  File "/app/api/core/indexing_runner.py", line 67, in run
    raise ValueError("no process rule found")
ValueError: no process rule found
Originally created by @hemisalo on GitHub (Sep 14, 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 v2.0.0-beta.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Using the Knowledge Pipeline in version v2.0.0-beta.2: 1. Create a minimal pipeline using any Data Source 2. Add a General Chunker with Delimiter \n\n, 4000 Max Chunk Length 4. For Knowledge Base use General Chunk Structure, High Quality Index Method, OpenAI text-embedding-3-large, and any Retrieval Settings 5. Insert a document 6. Wait for it to be available 7. Press Sync <img width="1145" height="375" alt="Image" src="https://github.com/user-attachments/assets/63aa3850-131d-4d1d-824e-517564ff01eb" /> ### ✔️ Expected Behavior Syncing to succeed when pressing Sync. Also worth noting, even though we set 4000 as the Max Chunk Length in the General Chunker, we get the default settings, including Chunks length of 1024 <img width="449" height="224" alt="Image" src="https://github.com/user-attachments/assets/8c97dbf9-3882-4b51-a3c4-8fdc05dbc833" /> <img width="497" height="510" alt="Image" src="https://github.com/user-attachments/assets/08d8ddda-56a2-4196-a620-6d42ab85a0f3" /> ### ❌ Actual Behavior Instead we get a value_error of "no process rule found" ``` 2025-09-14 06:56:05.172 INFO [Dummy-947] [rag_pipeline_run_task.py:51] - Start run rag pipeline: 7ff912eb-0456-476a-914c-2b534caac94c 2025-09-14 06:56:05.194 WARNING [Thread-949 (_generate_worker)] [graph.py:192] - Failed to create node instance: 1 validation error for DatasourceNodeData datasource_parameters.limit.type Value error, value must be a string, int, float, or bool [type=value_error, input_value='constant', input_type=str] For further information visit https://errors.pydantic.dev/2.11/v/value_error 2025-09-14 06:56:05.314 INFO [Dummy-947] [rag_pipeline_run_task.py:133] - Rag pipeline run: 7ff912eb-0456-476a-914c-2b534caac94c completed. Latency: 0.14153429097495973s 2025-09-14 06:56:05.348 INFO [Dummy-947] [trace.py:128] - Task tasks.rag_pipeline.rag_pipeline_run_task.rag_pipeline_run_task[b1c2bae8-a40b-456b-8096-1b1439b35fd5] succeeded in 0.17633723304606974s: None 2025-09-14 06:58:06.209 INFO [MainThread] [strategy.py:161] - Task tasks.retry_document_indexing_task.retry_document_indexing_task[02e67070-3580-4b02-a014-5077b794af9c] received 2025-09-14 06:58:06.217 INFO [Dummy-950] [retry_document_indexing_task.py:61] - Start retry document: 86f256ac-88ac-4d7a-8a8a-bd674c2ce85b 2025-09-14 06:58:06.238 ERROR [Dummy-950] [indexing_runner.py:97] - consume document failed Traceback (most recent call last): File "/app/api/core/indexing_runner.py", line 67, in run raise ValueError("no process rule found") ValueError: no process rule found ```
yindo added the 🐞 bugKnowledge Pipeline labels 2026-02-21 19:34:21 -05:00
yindo closed this issue 2026-02-21 19:34:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#17353