The output results generated by the time tool contain escape characters \n, which leads to failure when writing to the knowledge base. #3206

Closed
opened 2026-02-21 17:55:02 -05:00 by yindo · 0 comments
Owner

Originally created by @zswll2 on GitHub (May 12, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, 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).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.7

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Although custom time formats have been added in this version, there is still an error when importing the knowledge base using the API. I think this should be caused by \n.
微信截图_20240512162337

✔️ Expected Behavior

code 200

Actual Behavior

code 400

Originally created by @zswll2 on GitHub (May 12, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, 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] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.6.7 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Although custom time formats have been added in this version, there is still an error when importing the knowledge base using the API. I think this should be caused by \n. ![微信截图_20240512162337](https://github.com/langgenius/dify/assets/37688676/26c4519c-60da-4720-a0a8-091f8f270d10) ### ✔️ Expected Behavior code 200 ### ❌ Actual Behavior code 400
yindo added the 🐞 bug label 2026-02-21 17:55:02 -05:00
yindo closed this issue 2026-02-21 17:55:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#3206