mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Google Calendar Tool Fails with "Unknown Error" in Workflow #675
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @y0ssh1 on GitHub (Sep 26, 2025).
Self Checks
Dify version
1.9.0
Plugin version
0.1.0
Cloud or Self Hosted
Cloud
Steps to reproduce
When using the Google Calendar tool in a workflow, it consistently fails with a generic "Unknown error". This issue occurs even in a minimal workflow designed solely to test the Google Calendar integration (e.g., Start -> Google Calendar -> End). The tool fails to execute any of its actions.
カレンダー一覧を取得).Start->Google Calendar->End.✔️ Error log
"Unknown error".
@dosubot[bot] commented on GitHub (Sep 26, 2025):
Hi @y0ssh1! I'm Dosu and I’m helping the dify-official-plugins team.
The Google Calendar tool's "Unknown error" is usually triggered when the plugin encounters unexpected issues like missing or invalid OAuth credentials, insufficient API permissions, or network problems. The code checks for a valid
access_tokenand specific API errors (401 for authentication, 403 for permissions), but any other error—including misconfiguration or connectivity issues—gets caught by a generic exception handler and reported as "Unknown error" in the workflow log, which can obscure the real cause.To troubleshoot, double-check that your Google OAuth credentials are correctly configured, the access token is valid, the required Calendar API scopes are granted, and your cloud environment can reach Google's API endpoints. Improving credential setup or network access often resolves these generic failures. More detailed error reporting could help, but currently, most unexpected issues are surfaced as "Unknown error" due to catch-all exception handling in the plugin code [source].
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
