I got something like serialize error

when i try to use the agent it gives me these errors

serialize binary: invalid int 32: 4294967295 [internal]

Request ID: ac17a7c3-73cd-4ac9-8b6d-4ee525471082
ConnectError: [internal] serialize binary: invalid int 32: 4294967295
at dou.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:12706:475325)
at JXe._doInvokeHandler (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:23170)
at JXe._invokeHandler (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:22912)
at JXe._receiveRequest (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:21544)
at JXe._receiveOneMessage (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:20361)
at pMt.value (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:18388)
at Ce._deliver (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at Ce.fire (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at jyt.fire (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:12691:12156)
at MessagePort. (vscode-file://vscode-app/c:/Users/madar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:15681:18406)

Hey, thanks for the report. This is a known issue on Windows with the PowerShell terminal. The error happens when the agent tries to run commands and gets an incorrect exit code.

Try switching your terminal to Command Prompt:

  • Fully close Cursor
  • Open Settings with Ctrl+,
  • Find terminal.integrated.defaultProfile.windows
  • Set it to “Command Prompt” (not PowerShell)
  • Restart Cursor

If that doesn’t help, please share:

  • Your Cursor version (Menu → About Cursor → Copy)
  • What command the agent was trying to run right before the error

A few other users are seeing this too, we’re tracking it in this thread: Connection Error - Serialize Binary. You can subscribe there for updates.

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