Custom Knowledge Workflow Error:'NoneType' object has no attribute 'session_id' #18497

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

Originally created by @HZJprince on GitHub (Sep 28, 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.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The custom knowledge base workflow is normal when the test runs, but after release, return to the knowledge base to upload the document, an error message appears when the run occurs.
test run is ok:

Image

normal run is error:

Image

✔️ Expected Behavior

==

Actual Behavior

==

Originally created by @HZJprince on GitHub (Sep 28, 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.9.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The custom knowledge base workflow is normal when the test runs, but after release, return to the knowledge base to upload the document, an error message appears when the run occurs. test run is ok: <img width="601" height="541" alt="Image" src="https://github.com/user-attachments/assets/5675ebb4-bb6c-40de-9203-4e7c4752319f" /> normal run is error: <img width="594" height="543" alt="Image" src="https://github.com/user-attachments/assets/62412fec-c460-4164-a27f-4f3b69adc860" /> ### ✔️ Expected Behavior == ### ❌ Actual Behavior ==
yindo added the 🐞 bug label 2026-02-21 19:48:22 -05:00
yindo closed this issue 2026-02-21 19:48:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#18497