Constant Internal Errors during long chats

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Often during long chats, I get “Internal error” “An unexpected error occurred on our servers. Please try again, or contact support if the issue persists.” midway through the agent responding. Here are the request details:

Request ID: de719147-ff52-4eba-a3c0-3085fe8bc9d2
[internal] serialize binary: invalid int 32: 3221225477
LTe: [internal] serialize binary: invalid int 32: 3221225477
at Gmf (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9095:38348)
at Hmf (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9095:37251)
at rpf (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9096:4395)
at fva.run (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9096:8170)
at async Hyt.runAgentLoop (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34196:57047)
at async Zpc.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34245:7695)
at async Zpc.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34245:8436)
at async FTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9170:14575)
at async Ei (vscode-file://vscode-app/c:/Users/Lewis/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32994:3808)

Steps to Reproduce

Hard to say, doesn’t always happen, but when it does I get stuck, if I respond and tell it to keep going it will get the error again quickly.

Operating System

Windows 10/11

Version Information

Version: 2.4.22 (user setup)
VSCode Version: 1.105.1
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40
Date: 2026-01-26T22:51:47.692Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Error I sent was from GPT-5.2 High, after using Opus 4.5 (Thinking) for most of the chat.

For AI issues: add Request ID with privacy disabled

de719147-ff52-4eba-a3c0-3085fe8bc9d2

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This is a known issue on Windows. The error happens when the Agent runs commands in the terminal and gets an incorrect exit code that doesn’t fit into an int32 during serialization.

Try switching to Command Prompt:

  1. Fully close Cursor
  2. Open Settings with Ctrl+,
  3. Find terminal.integrated.defaultProfile.windows
  4. Set it to “Command Prompt” instead of PowerShell
  5. Restart Cursor

Just a heads-up, this workaround doesn’t always help, especially with long commands or more complex MCP actions. The team knows about the issue, but there’s no fix yet.

If it still doesn’t work, please share:

  • The exact command Playwright MCP tried to run (or what you asked the Agent to do)
  • A screenshot of your terminal settings (Settings > Terminal > Integrated: Default Profile: Windows)

Main thread with updates and other affected users: Connection Error - Serialize Binary
You can subscribe there to keep track of updates.

A post was merged into an existing topic: Connection Error - Serialize Binary

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.