Skip to content

[Bug]: Fetching Tools From MCP lacks logsΒ #1542

@brumar

Description

@brumar

🐞 Bug Summary

After initiating the oauth2 consent flow (user delegation) with the notion MCP, I got this error when fetching tools and nothing in the logs either (even with loglevel at DEBUG).

❌ Retry Fetch Tools
❌ Failed to Fetch Tools
Error: Failed to fetch tools: Failed to fetch tools after OAuth: 
unhandled errors in a TaskGroup (1 sub-exception)

The logs seemed to say that fetching worked but validation failed, without more informations.

My own problem is solved because I realized notion schema are quite nested and increase
VALIDATION_MAX_JSON_DEPTH to 50.

I did not fill all the redtape so this issue can be closed, my most important priority was to help the next person after me that will be annoyed by making notion mcp work through the gateway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssues / Features awaiting triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions