"Your message is too long. Please try again with a shorter message and fewer/smaller attached items."

Describe the Bug

Open a chat window, type “hello”, select agent mode and any anthropic model and hit enter. You are greeted with “Your message is too long. Please try again with a shorter message and fewer/smaller attached items.” error. Please see screenshot. The model works fine in “Ask” mode.

The problem occurs only with Anthropic models ( claude 4, 3.7 & 3.5). The other models seems working fine. (gpt-4.1)

Steps to Reproduce

As mentioned in the description. But I think this occurs randomly from last 2 days. I suspecting this is due to some level of throttling.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:53:59.659Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Additional Information

i am on Pro(legacy) plan

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, this error can occur in several cases: if you have too many MCP servers, or if you have a very large file open in the editor. If either of these matches your case, try disabling some servers or closing the file.

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