You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yusuke-ten Hello! I'm here to help you with any bugs, questions, or contributions you have for the Dify repository. Let me know how I can assist you!
The issue where the titles of synced Notion documents appear as "Untitled" might be related to the mapping of Notion subpage titles in the Dify interface. The PageSelector component in web/app/components/base/notion-page-selector/page-selector/index.tsx is responsible for rendering the list of Notion pages and their hierarchical structure, including the titles of the subpages [1].
To troubleshoot this issue, you can check the following:
Ensure Proper Configuration: Verify that the necessary environment variables for the Notion integration are correctly set in your .env file. This includes NOTION_INTEGRATION_TYPE, NOTION_INTERNAL_SECRET, NOTION_CLIENT_SECRET, and NOTION_CLIENT_ID as applicable [2].
Check for Recent Changes or Issues: There might be recent changes or known issues in the Dify repository related to the Notion API integration that could affect the retrieval of subpage titles. Reviewing the latest commits or issues in the repository might provide insights.
Inspect the PageSelector Component: Ensure that the PageSelector component is correctly processing and displaying the page_name property for each Notion page. The relevant code snippet in the PageSelector component handles the rendering of the page titles [1].
If the issue persists, further investigation into the Notion API responses and how they are processed in the Dify codebase might be necessary.
Self Checks
Dify version
0.6.16
Cloud or Self Hosted
Cloud, Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
Select “Sync from Notion” in the knowledge.
The titles of all subpages are displayed as "Untitled".
✔️ Expected Behavior
The titles of the subpages are displayed correctly.
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: