Hey, thanks for the report. This is a known Windows issue related to how PowerShell returns exit codes. Your error shows a different number (3221225477 instead of the usual 4294967295), but the root cause is the same: int32 overflow during serialization.
Try switching to Command Prompt:
- Fully close Cursor
- Open Settings with
Ctrl+, - Find
terminal.integrated.defaultProfile.windows - Set it to “Command Prompt” instead of PowerShell
- Restart Cursor
This workaround doesn’t always help (especially with long commands), but it’s worth trying.
If it doesn’t help, please share:
- Your Cursor version (Menu → About Cursor → Copy)
- What command the Agent tried to run right before the error
The bug is logged and lots of users have hit it. Main thread with updates: Connection Error - Serialize Binary. You can subscribe there to follow the news.