Runnig into the same issue, testing around with the my mscp server. But surprisinglly the call to the mcp server was retried with identical params and then it succeeded. Could not find anything in the logs but the
mcp_protocol_error
424: unhandled errors in a TaskGroup (1 sub-exception)
I solved this 424 issue after having it all day. I tried everything with chatgpt and what I learned is that this error means it can be anything. that’s why you will see a lot of solutions to this error and maybe none will work for you.
in my case it was the response my server was giving to the “initialize” method , that comes before the “tools/list” method. I had it but openai didnt like it for some reason.
here is the final vertion of the response to initialize:
I’ve been struggling with this issue for several days, and it turns out the problem wasn’t in my code at all.
While inspecting the browser’s network traffic, I noticed something interesting:
Before showing the error message { "detail": "unhandled errors in a TaskGroup (1 sub-exception)" },
ChatGPT doesn’t even send a request to my MCP server.
Then, right afterward, I see another response: { "detail": "Must use workspace account for this operation" }.
For context, I’m a Plus user, and I started trying to add a custom MCP server after the Apps SDK was announced.