I have meet the problem Append data exceeds maximum size of 52428801 bytes

**Where does the bug appear (feature/product)?

Cursor IDE**

**

Describe the Bug**
Cursor is broken.

Steps to Reproduce
Anytime I ask anything, even an “Hi”

The Folder It belong is only 93MB,I dont have any skills

Operating System

Windows 10/11

Version: 3.0.12 (system setup)
VSCode Version: 1.105.1
Commit: a80ff7dfcaa45d7750f6e30be457261379c29b00
Date: 2026-04-04T00:13:18.452Z
Layout: glass
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: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

I have tried Sonnet, Opus and GPT. None of them work.

My Proxy is operating well,not its problem

For AI issues: add Request ID with privacy disabled

Request ID: f374f123-0112-408b-9159-97b9f2c4dc9a
{“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
sBi: Bad Request Append data exceeds maximum size of 52428800 bytes
at Bnw (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43963:24394)
at Inw (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43963:23385)
at Onw (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43964:6355)
at b9u.run (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43964:11154)
at async qIn.runAgentLoop (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:56307:11753)
at async E0d.streamFromAgentBackend (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:56377:11057)
at async E0d.getAgentStreamResponse (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:56377:17161)
at async o3e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:44075:19892)
at async Hl (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:55360:4887)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Cursor CLI
  • Background Agent (GitHub, Slack, Web, Linear)
  • BugBot
  • Somewhere else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey, thanks for the report. This error usually shows up when the request to the server goes over the 50 MB limit. The two most common causes are:

  1. HTTP/2 is disabled
    If you have the Disable HTTP/2 setting enabled (Settings > search “HTTP/2”), the data gets encoded less efficiently and ends up about twice as large. Please check that setting, and if it’s on, try turning it off.

  2. Large files in the project
    A 93 MB folder isn’t small. If it contains node_modules, binaries, or other big files, they can get pulled into the context. Try this:

  • Create a .cursorignore file in the project root and add heavy directories there, similar to .gitignore
  • For a quick test, open an empty folder and send “Hey”. If that works, the issue is in your project contents.

Also, please check if you have any Skills set in Cursor Settings. You said you don’t, but just to be safe, this is the most common reason for this error: Appendd data exceeds maximum size of 52428800 bytes

Let me know what you find.

Thanks for your reply
For Solution 1,I have tried disabled HTTP/2,I’m always HTTP/1.1(Cause if I’m not I will not use any Model except Auto)

For Solution 2,I have tried create a .cursorignore file but it doesn’t work

So I think this is a hard problem :frowning:

node_modules/
.git/
dist/
build/
out/
*.log
*.lock
package-lock.json
yarn.lock

I can see the screenshot with the settings. A couple things are worth checking.

Main suspects:

  1. HTTP/1 path
    This is the key factor. When Disable HTTP/2 is on, data is encoded less efficiently and the request size can effectively double. You said you can’t use any models except Auto without this. Can you share what exactly happens with HTTP/2 enabled? What error do you see? This might be a separate issue to fix, because HTTP/1 by itself can trigger the limit error.

  2. Binary files in the project
    In the sidebar I can see PDF files, .docx documents, and an images folder with large files. Your .cursorignore doesn’t exclude them. Add:

*.pdf
*.docx
*.doc
images/
  1. Quick test
    Open a completely empty folder and send “Hey”. If that works, the problem is definitely caused by something in the project content.

Let me know the results, especially about HTTP/2. That’s probably the key to fixing it.

I have the same problem

For the 1,it is because that I’m in China,there is always some Network problem.So I turn to HTTP/1.1 is reference to someone’s experience

I add this to .cursorignore,and turn off my VPN,It can output well.

*.pdf
*.docx
*.doc
images/

But when I turn on my VPN,turn to the Model Sonnet 4.6,it tell Model not available,this turned me to use HTTP/1.1,which can use the model :frowning:

Glad .cursorignore fixed the main error.

Now about “Model not available”. This happens because Cursor detects your region by IP on the server side. If your VPN exit IP is detected as China, OpenAI and Anthropic models are blocked. That creates a loop. Without a VPN you can’t use the model due to HTTP/2 issues, with a VPN on HTTP/1.1 you hit the size error.

The fix is to set up your VPN so traffic to Cursor servers goes direct without the proxy, and everything else keeps going through the VPN as usual. Depending on your client Clash, V2Ray, Shadowsocks, etc, add these to your bypass list or direct rules:

*.cursor.sh
*.cursor.com
*.cursorapi.com
cursor-cdn.com

After that:

  1. Turn HTTP/2 back on by unchecking Disable HTTP/2
  2. Restart Cursor
  3. Try selecting Sonnet 4.6 directly

If your VPN exit IP is not China and it’s still blocked, run Run Diagnostics in Cursor Settings > Network and send the result here. I’m especially interested in the IP: line in the SSL section. If it shows 127.0.0.1, your traffic is still going through a local proxy, and Cursor is seeing the proxy exit IP, not your real IP.

Let me know how it goes.

Sorry,I’m pretty not good at changing the setting of VPN.

It seems like my set is a auto set.

You can see in the picture I have already add cursor.sh in the yml,but still not able to use the Sonnet 4.6.

Maybe I should give up for this :frowning:

Hey, I can see a screenshot with a Clash config. There are two issues:

  1. Cursor traffic is going DIRECT, and that’s what causes the block

In my previous post, I gave the wrong advice. For China, routing directly DIRECT means Cursor sees a China IP and blocks the models. You need the opposite, route Cursor traffic through a proxy that exits in a supported region like the US, Japan, or the EU.

Replace your rules with:

rules:
  - DOMAIN-SUFFIX,cursor.sh,SELECT_NODE
  - DOMAIN-SUFFIX,cursor.com,SELECT_NODE
  - DOMAIN-SUFFIX,cursorapi.com,SELECT_NODE
  - DOMAIN-SUFFIX,cursor-cdn.com,SELECT_NODE

SELECT_NODE is your proxy group that uses a node in a supported region.

  1. DOMAIN-SUFFIX rules don’t need *

Right now you have DOMAIN-SUFFIX,*.cursor.sh,DIRECT. The * is unnecessary. DOMAIN-SUFFIX,cursor.sh already matches all subdomains like api.cursor.sh, www.cursor.sh, etc.

After the changes:

  • Make sure the selected node exits in the US, Japan, or the EU
  • Turn HTTP/2 back on, uncheck Disable HTTP/2
  • Restart Cursor
  • Try Sonnet 4.6

Let me know how it goes, and sorry again for the confusion in my previous advice.