Replies: 18 comments 4 replies
-
Thank you so much! If it's okay, would you mind sharing your kind answer
with other friends in Korea? Thanks again for your reply.
2025년 7월 23일 (수) 오후 5:23, johnavgeros ***@***.***>님이 작성:
… I've got the same issue...
—
Reply to this email directly, view it on GitHub
<#167221 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BUSUSCD6ITUEFWF76EQMP633J5BA7AVCNFSM6AAAAACCE3QZYCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOBWGAZTMMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For me, first tool call after MCP server startup works fine then subsequent calls then "Error executing code: Cannot convert undefined or null to object" for all after the first. This is for both my custom mcp server and an unmodified open source server. Both run locally w/STDIO. |
Beta Was this translation helpful? Give feedback.
-
Same error happening here |
Beta Was this translation helpful? Give feedback.
-
also getting it using |
Beta Was this translation helpful? Give feedback.
-
I think there's a service disruption at Anthropic (I get the same error with opus and sonnet) |
Beta Was this translation helpful? Give feedback.
-
I am using Claude Desktop connected to Webstorm via MCP server, I am having the same issues in the past hour, couldn't solve the problem , but found out that Claude is having issues reading files of my project, which could be solved by opening that file in editor and asking it to try again. It is a nasty solution, but I have nothing better at the moment, hopefully this get's resolved quickly. |
Beta Was this translation helpful? Give feedback.
-
I get the same error with opus and sonnet (Claude Desktop), I use zed with local mcp and everything is fine. I hope it gets resolved soon. |
Beta Was this translation helpful? Give feedback.
-
I got the same thing with the Notion API : Error executing code: Cannot convert undefined or null to object. |
Beta Was this translation helpful? Give feedback.
-
Getting the same error for a response well defined in json. |
Beta Was this translation helpful? Give feedback.
-
confirming this is an issue affecting most/all of my MCP use. |
Beta Was this translation helpful? Give feedback.
-
same here, glad I'm not alone. |
Beta Was this translation helpful? Give feedback.
-
solidarity! I thought I was going crazy. I've tried installing new mcp servers, different models - it works once then dies. Ok, I'm on a Mac. I'm running sequoia 15.4. I'm using mac silicon. How about y'all? |
Beta Was this translation helpful? Give feedback.
-
Ok, this is what anthropic support has to say. I'm not loving the "configuration error" part - it's like, no, my configuration didn't just die overnight... The "Cannot convert undefined or null to object" error with MCP server filesystem operations is a known issue affecting several users. While I don't have full information about the specific root cause, this appears to be related to connection stability and state management issues in Claude Desktop. |
Beta Was this translation helpful? Give feedback.
-
Based on utc-9, July 23 |
Beta Was this translation helpful? Give feedback.
-
"Identified |
Beta Was this translation helpful? Give feedback.
-
So, since we're all here - I'd just like to say that we all hit anthropic support and say "look, if multiple users, across multiple time zones, with multiple different systems are reporting the same issue - don't call it 'configuration error' or 'local problem' or 'pilot error' - this should be a clue that something is wrong on your side, not ours." I know that I'm going to say something - and I'd encourage all of you to do so as well. |
Beta Was this translation helpful? Give feedback.
-
"this issue has been resolved". Ok, then, back on the horse. :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Currently, when using MCP on the Claude desktop, an error like "Error executing code: Cannot convert undefined or null to object" occurs, and a solution is needed.
claude say :
Error Occurrence Situation
Click to expand
Currently Detected Error: Error executing code: Cannot convert undefined or null to object Error Occurrence Patterns:✅ edit-file-lines:get_file_lines - Working normally
❌ terminal:execute_command - Error occurred
❌ git:git_status - Error occurred
❌ edit-file-lines:search_file - Error occurred
Suspected Root Causes:
MCP tool initialization issues
Permission or path access problems
Windows path handling complications
Null/undefined parameter passing in MCP protocol
Command execution environment misconfiguration
Error Pattern Analysis:
File reading operations: Functional
System command execution: Failing
Git operations: Failing
File search operations: Failing
Technical Details:
Error Type: JavaScript TypeError
Location: MCP tool parameter processing
Impact: Limited to system-level operations
Workaround: Use file-based operations only
I don't really know what's going on
Beta Was this translation helpful? Give feedback.
All reactions