# Cursor IDE getting stuck throwing an error in the end

**URL:** <https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822>\
**Category:** Bug Reports\
**Tags:** crashes, chat\
**Created:** [April 23, 2026, 11:41am UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822 "2026-04-23T11:41:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhijeet\_Patil](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Abhijeet\_Patil](https://forum.cursor.com/u/Abhijeet_Patil)\
**Post date:** [April 23, 2026, 11:41am UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822/1 "2026-04-23T11:41:59Z")

</div>

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

Cursor IDE

### Describe the Bug

Every time I try to interact with an agent, it gets stuck on summarizing chat context. even a simple hi is not processing  
request id-  
Request ID: c6776a16-10cf-46fd-8a67-cb16f288d080  
An unexpected error occurred.  
[internal] Failed to run step, exceeded max retries  
aae: [internal] Failed to run step, exceeded max retries  
at rK\_ (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:28926:24637)  
at nK\_ (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:28926:23543)  
at dK\_ (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:28927:6487)  
at h8u.run (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:28927:11285)  
at async xDn.runAgentLoop (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:41235:11960)  
at async W1d.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:41305:12151)  
at async W1d.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:41305:18486)  
at async N3e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29033:16809)  
at async giC.submitMessage (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:44688:94906)  
at async T\_C.submitMessage (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:45709:10241)  
at async vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:42968:88647

### Steps to Reproduce

put any text within an agent

### Expected Behavior

I should get a proper response

### Operating System

Windows 10/11

### Version Information

Version: 3.1.17 (user setup)  
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.1Version: 3.1.17 (user setup)  
V8: 14.2.231.22-electron.0  
OS: Windows\_NT x64 10.0.22631

### For AI issues: which model did you use?

Auto

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [April 23, 2026, 3:23pm UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822/6 "2026-04-23T15:23:34Z")

</div>

Thanks for the report @Abhijeet_Patil! This matches a known issue we’re tracking when conversation context grows significantly beyond the model’s token limit., and I’ve added your report.

Starting a new chat should let you continue working with the agent. Is that the case?

---

<div class="post-metadata">

**Author:** ![Abhijeet\_Patil](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Abhijeet\_Patil](https://forum.cursor.com/u/Abhijeet_Patil)\
**Post date:** [April 24, 2026, 7:03am UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822/8 "2026-04-24T07:03:23Z")

</div>

Hi Colin, thanks for the response. Although starting new chat is of no use, switching AI model worked for me. Currently using it that way and will wait for a fix from the team. Thanks !

---

<div class="post-metadata">

**Author:** ![Abhijeet\_Patil](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Abhijeet\_Patil](https://forum.cursor.com/u/Abhijeet_Patil)\
**Post date:** [June 23, 2026, 7:41am UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822/10 "2026-06-23T07:41:18Z")

</div>

Hi @Colin , I am getting this issue again after the latest update. PSB the details:  
Request ID: e7339d18-b575-4325-889b-03d9512f1cb3  
An unexpected error occurred.  
[internal] Failed to run step, exceeded max retries  
RetriableError: [internal] Failed to run step, exceeded max retries  
at zCE (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11938:27797)  
at cNh (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11938:26526)  
at g5S (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11939:11430)  
at Object.classify (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11939:15949)  
at KCE (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11939:5709)  
at async iWg.runWithSharedTurnRunner (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11939:15300)  
at async gue.runAgentLoop (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:21292:3043)  
at async eLv.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:24470:13921)  
at async eLv.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:24470:22774)  
at async Fpt.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/patilabh/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:12056:1967)

This time opening new chat or changing the AI model is also not working.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [June 23, 2026, 10:40am UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822/11 "2026-06-23T10:40:08Z")

</div>

If it’s persisting on new chats, perhaps you have some context bloat that needs to be addressed. In the latest versions of Cursor, you can see what’s taking up your agent’s context here!

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/e/a/ea4cd93a8e9b4cf48e41a7ef3fe9d591efb429fc.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [October 21, 2026, 6:47pm UTC](https://forum.cursor.com/t/cursor-ide-getting-stuck-throwing-an-error-in-the-end/158822/13 "2026-10-21T18:47:03Z")

</div>

Hey @Abhijeet_Patil,

We’ve made a change on our side to how this is handled. When a chat grows past what the model can hold, even after summarizing, Cursor no longer gets stuck cycling through “Summarizing chat context” and retrying until it fails with “exceeded max retries”. It now stops quickly and shows a “Conversation Too Long” message with options to start a new chat, send a shorter message, or switch to a model with a larger context window.
