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
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.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Hello,
When attempting to add a Notion configuration in the Data Sources section of the settings, I am redirected to a blank page. The page displays the following error message:
{
"error": "invalid_request",
"error_description": "query failed validation: query.client_id should be a string or `undefined`, instead was `0`.",
"request_id": "4ce7caa0-10d3-4499-8618-39d8ddb8577e"
}
Could you please provide guidance on how to resolve this issue? Specifically, it seems that there is an issue with the client_id not being passed correctly as a string.
Thank you for your assistance.
Best regards,
✔️ Expected Behavior
My expectation is that after adding the Notion configuration, a popup window or another configuration interface should appear to guide me through the setup process.
❌ Actual Behavior
I encounter this error and the process cannot be completed.
The text was updated successfully, but these errors were encountered:
I found a similar unsolved discussion regarding an error when adding a Notion data source in the community version of Dify [1].
The error message you're encountering indicates that the client_id is being set as 0 instead of a string. In the Dify platform, the client_id should be a string or undefined, and it is typically set in the .env file under the environment variable NOTION_CLIENT_ID[2].
Ensure that your .env file has the correct configuration for the Notion integration:
Make sure that your-client-id is a valid string and not set to 0. If the issue persists, double-check the environment variable settings and ensure that they are correctly loaded into your application.
Self Checks
Dify version
0.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Hello,
When attempting to add a Notion configuration in the Data Sources section of the settings, I am redirected to a blank page. The page displays the following error message:
Could you please provide guidance on how to resolve this issue? Specifically, it seems that there is an issue with the client_id not being passed correctly as a string.
Thank you for your assistance.
Best regards,
✔️ Expected Behavior
My expectation is that after adding the Notion configuration, a popup window or another configuration interface should appear to guide me through the setup process.
❌ Actual Behavior
I encounter this error and the process cannot be completed.
The text was updated successfully, but these errors were encountered: