Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi, I am getting the following error.
Request ID: 8c4b103c-44c9-4403-8ac0-ced1ff6c9b20
Bad Request Append data exceeds maximum size of 52428800 bytes
YLi: Bad Request Append data exceeds maximum size of 52428800 bytes
at rK_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28926:24552)
at nK_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28926:23543)
at dK_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28927:6487)
at h8u.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28927:11285)
at async xDn.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41235:11960)
at async W1d.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41305:12151)
at async W1d.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41305:18486)
at async N3e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29033:16809)
at async Va (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:40288:4233)
Steps to Reproduce
I try to use Cursor IDE but got the error.
Expected Behavior
Agent needs to work
Operating System
MacOS
Version Information
Version: 3.1.17
VSCode Version: 1.105.1
Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
Date: 2026-04-19T19:33:58.189Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
Does this stop you from using Cursor
Yes - Cursor is unusable
Hey, thanks for the report. This error happens when the data being sent to the server exceeds a 50 MB limit, which can occur as a conversation accumulates context (files, tool outputs, etc.). This is a known issue our team is working on.
A few things to try:
-
Check if HTTP/2 is disabled — Open Settings (CMD + ,), search for “HTTP/2”. If “Disable HTTP/2” is toggled on, turn it off. With HTTP/1, data gets encoded less efficiently and can hit the size limit faster.
-
Start a new chat — If your current conversation has built up a lot of context, opening a fresh chat should clear the issue.
-
Exclude large files from context — If your project contains large files (binaries, images, PDFs, etc.), create a .cursorignore file in your project root to exclude them, similar to .gitignore.
Others have reported the same issue with some additional workarounds here.
Let me know if any of the above helps!
Thank you for your quick reply.
I am using HTTP/1.0 and 2.0, 1.1 is disabled. Also I tried with New Chat and repository did not have binary, images ,pdfs but still get the error.
Request ID: 50791e91-60b4-4983-b118-cade03dc97ef
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Bad Request”,“detail”:“Append data exceeds maximum size of 52428800 bytes”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Bad Request Append data exceeds maximum size of 52428800 bytes
YLi: Bad Request Append data exceeds maximum size of 52428800 bytes
at rK_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28926:24552)
at nK_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28926:23543)
at dK_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28927:6487)
at h8u.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:28927:11285)
at async xDn.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41235:11960)
at async W1d.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41305:12151)
at async W1d.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41305:18486)
at async N3e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29033:16809)
at async Va (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:40288:4233)