Keep getting bad request

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Can’t chat with agent anymore. Getting bad request (see below copy). Tried duplicate Agent, same issue
Tried reboot, same issue
Tried disable http/2, same issue
Tried turn off MCP, same issue (have no MCP configured)
Tried Cursor support, fast response but no solution
Tried reboot laptop, same issue

An older agent, for an unrelated topic, still works fine…

Any tips?

(Request ID: 10fc7276-7a32-4da5-a697-e458dbdb9657
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Bad request.”,“detail”:“Bad Request”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at szc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12375:456006)
at xBo._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22831)
at xBo._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22573)
at xBo._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:21335)
at xBo._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:20152)
at zLt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:18244)
at Ee._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at Ee.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Tvt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12360:12156)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15027:18433)

Steps to Reproduce

Open cursor, select agent with issue (or duplicate) and start to chat. The text starts uploading, but then times out with ‘bad request’ error.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43 (Universal)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

For AI issues: which model did you use?

Any model

For AI issues: add Request ID with privacy disabled

Request ID: 10fc7276-7a32-4da5-a697-e458dbdb9657
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Bad request.”,“detail”:“Bad Request”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at szc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12375:456006)
at xBo._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22831)
at xBo._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22573)
at xBo._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:21335)
at xBo._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:20152)
at zLt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:18244)
at Ee._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at Ee.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Tvt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12360:12156)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15027:18433)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

Could you please check the following:

  1. Settings > Models > API Keys: turn off Override OpenAI Base URL, and temporarily disable custom keys if they’re enabled. This is a known issue. Details here: API Keys for ChatGPT and Anthropic Failing
  2. Settings > MCP: disable all MCP servers and restart Cursor. A workaround is described here: "error_bad_request
  3. Create a brand new chat and try again there. For a few users, starting a new thread helped: Always show the error:Bad Request

If it still doesn’t work, please send:

  • screenshots of Settings > MCP and Settings > Models > API Keys
  • a new Request ID after the steps above
  • errors from Help > Toggle Developer Tools > Console
  • the result of Settings > Network > Run Diagnostics

Let me know which step worked.

thanks for your reply!

  1. this was turned off already. no custom keys were enabled.
  2. no mcp servers installed
  3. this seems to work, but don’t I lose all context? How to make sure all context gets loaded?

thanks for your support! Really appreciated.

I made a brand new agent, and after 1 day the exact same issue happens! I can again start all over… how frustrating. Should I move on from Cursor?

im stucked too…

Request ID: a5f2d918-a2b4-4705-a03f-8bbbcbad71ca
{“error”:“ERROR_BAD_REQUEST”,“details”:{“title”:“Bad request.”,“detail”:“Bad Request”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at szc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12375:456006)
at xBo._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22831)
at xBo._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22573)
at xBo._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:21335)
at xBo._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:20152)
at zLt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:18244)
at Ee._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at Ee.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Tvt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12360:12156)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15027:18433)

I have an agent failing while trying to implement a plan that a great deal of time and effort went into formulating.

I figure it must be the context from creating the plan, so I start a fresh agent. Same failure.

I restart Cursor. Fresh agent. Same failure.

This is unusable.

Request ID: c7a9ad45-0da6-4e98-8c8d-cb0471ee9f65

I just started getting this error to “bad request”. Is there any update to fixing this. It’s a huge problem with regards to the development timeline of my clients app. Should I move to a more stable provider rather than cursor?

■■■■ this man ■■■■ this ■■■■ cursor like for a ai based ide where the ■■■■■■■ ai chat just keeps failing this is like the most basic feature which is ai chat what in the ■■■■ is worng with this software

The only way I’ve been able to go around this problem that occurs pretty often, is to rollback the previous last prompt that worked, after copying the state of my files and manually editing them to the last version, and I add at the end of my original prompt the fact a glitch occured and most of the work is done already, to read the code and to continue with X implementation. generally, redoing the last prompt can help to unbug it :person_shrugging: no idea why that is.