Append data exceeds maximum size of 52428800 bytes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Request ID: f763c34f-cfdd-4209-8322-f50a61a600c6
{“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
H4t: Bad Request Append data exceeds maximum size of 52428800 bytes
at lpf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9097:38263)
at apf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9097:37251)
at Cpf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9098:5088)
at Tva.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9098:9098)
at async Vyt.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34206:57104)
at async mgc.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34255:7835)
at async mgc.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34255:8576)
at async qTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9180:14965)
at async Xi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:33004:3808)

Steps to Reproduce

I created a new project, sent 3 prompts, now hitting this each time. I tried again, new repository, same issue after a couple prompts. This only happened as of this morning. I use ~$200/mo and have not had this issue before now/

Operating System

MacOS

Version Information

Version: 2.4.31
VSCode Version: 1.105.1
Commit: 3578107fdf149b00059ddad37048220e41681000
Date: 2026-02-08T07:42:24.999Z
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: Darwin arm64 25.2.0

For AI issues: which model did you use?

Tried Gemeni, GPT Codex, and Anthopic

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

This error (the 50 MB add limit) might be related to how requests are encoded when using HTTP/1 instead of HTTP/2. With HTTP/1, data is encoded less efficiently, so it can hit size limits faster.

A few things to try:

  • Check if “Disable HTTP/2” is enabled. Open Settings (CMD + ,), search for “HTTP/2”. If the toggle is on, try turning it off so Cursor uses HTTP/2.
  • If that doesn’t help, or it was already off, try starting a completely new chat. Not just a new message. Close the chat panel and open a new one.
  • Also, how large are the repos you’re working with? Even a “new project” can include large files or dependencies that get pulled into context.

Could you also run Cursor Settings > Network > Run Diagnostics and share the results? That’ll help narrow down whether there’s a network issue causing this.

Let me know how it goes.

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