# Infinite loading when pasting small blocks or adding file references in chat (all models, macOS, reproducible for 3+ months)

**URL:** <https://forum.cursor.com/t/infinite-loading-when-pasting-small-blocks-or-adding-file-references-in-chat-all-models-macos-reproducible-for-3-months/155699>\
**Category:** Bug Reports\
**Tags:** performance, chat, context\
**Created:** [March 24, 2026, 2:01am UTC](https://forum.cursor.com/t/infinite-loading-when-pasting-small-blocks-or-adding-file-references-in-chat-all-models-macos-reproducible-for-3-months/155699 "2026-03-24T02:01:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 24, 2026, 4:26am UTC](https://forum.cursor.com/t/infinite-loading-when-pasting-small-blocks-or-adding-file-references-in-chat-all-models-macos-reproducible-for-3-months/155699/4 "2026-03-24T04:26:36Z")

</div>

Hey, this is a known issue the team is tracking. Your report with the specific paste or file reference trigger is really helpful for narrowing it down.

I see you already tried switching HTTP/2, HTTP/1,1, and HTTP/1,0 settings, so we can skip that. A couple things to try:

1. Re-index: Cursor Settings (not VS Code settings) \> Indexing \> Resync Index. This has fixed similar hangs for some users.
2. Empty folder test: File \> Open Folder \> pick an empty directory, start a new chat, paste the same block of code. If it works there, the issue might be tied to something in your project index.

Also, next time it gets stuck, can you grab a Request ID? Click the context menu top-right of the chat \> Copy Request ID. That lets us trace what is happening on the backend.

Related thread: [Cursor spinner / “Taking longer than expected…” state hangs forever during file-write/edit operation](https://forum.cursor.com/t/cursor-spinner-taking-longer-than-expected-state-hangs-forever-during-file-write-edit-operation/152561)

Let me know how it goes.

---

_[View the full topic](https://forum.cursor.com/t/infinite-loading-when-pasting-small-blocks-or-adding-file-references-in-chat-all-models-macos-reproducible-for-3-months/155699)._
