Chat stuck on “Loading Chat” — cannot access previous conversation

Hey all

There’s a straight forward solution to this, but it will require diagnosing the issue first to see which scenario it falls under from my initial comment on this post.

To effectively diagnose the issue, COPY my entire comment, the reply I’ve posted to Eric’s reply and this comment, and provide that to a new Agent/chat on Cursor IDE - make sure you have given Cursor access to reach/change files outside of your workspace because the metadata/general data related to your workspace is stored in your local PC in a different system location to where you have your codebase saved in your PC. Only information that are not stored in your local PC is your chat content which are stored in Cursor cloud. However, provided that you fix the workspace ID conflict, you may be able to fix this issue entirely by linking the ID associated with the metadata of the chat stored in cursor.

If cursor had made any update that changes the way metadata and chat data are stored, then it’s unlikely you can resolve this issue on your own as Cursor team need to relink them to your workspace ID. Although it’s worth a try to ask cursor agent to check the discrepancies between how the data was stored previously before and after the update. Then it will figure out the configuration chnages they have implemented in the new update. Atleast it will provide a holistic view of the issue you’re experiencing.

you won’t need to action any of this, make sure you provide all my responses to a single agent (open a new agent/chat), it will do the task for you.

if you encounter any issues, ping me here, I will look into it.

Cheers

Marlon

1 Like

@marlonrousseau

Thanks for your help.

  1. I had to find your earlier reply by clicking your avatar and filtering just replies in this chat from you.
  2. You just said “Not sure about Windows”. That’s not helpful! Lol. I am on Windows.
  3. I am fairly sure that for most of us (at least for me), that this issue is scenario B since it started for many of us AFTER the update. What would it take for Cursor to run a test that checks if users chats are un-synced? I am pretty certain this is the case for me. The issue started immediately following the 2.0 update and has got DOUBLE messed up (see my report that was merged with this thread) after I tried installing 2.1 hoping it would fix it.

So… you have a bunch of users now that are waiting for their chats to be synced again with Cursor’s chat db so they can actually USE 2.x. Can something be done about this please?

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I downloaded the latest update not long ago. The plan creation tool kept failing so I restarted the app, because that fixed it before the update.

And now when I opened the application, I had to login again like I never used Cursor before, my previous chats are not loading in, and also some of my mcps arent loading in either or logged out…

Can I atleast open the last plan from my previous chat? Ive been working on that for hours, it would really ■■■■ to lose it all now like this… When I press on the history button on the chat section, I get that composer error, like all my history is gone (“[composer] No composer data handle found”)…

Steps to Reproduce

I am not sure, because I just restarted the application… Literally didnt do anything special. The Plan creation tool kept failing, and I recently updated to v2.1.39.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (user setup)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

In windows I cannot find some of what you said so I am struggling to reactivate my chats.

I can see a few state.vscdb from a few chats and some are big size so I know the chat exists.

  1. I can see folders on workspaceStorage, several of them from different chats and projects
  2. I can see state.vscdb and state.vscdb.backup, and they have the data
  3. I can see workspace.json
  4. I can see anysphere.cursor-retrieval folder

When I go to anysphere.cursor-retrieval folder I only see:

  1. embeddable_files.txt
  2. high_level_folder_description.txt

Nothing else is that folder so I don’t see any.json or .md files inside like you said.

But what I see in Cursor/User is History folders at
C:\Users\\AppData\Roaming\Cursor\User\History\
I see a lot of folders there and with different “Date Modified”

1 Like

I asked Cursor and Opus 4.5 to analyse @marlonrousseau comment and below are the summarised findings after it created and executed lots of python scripts to analyse the contents of the local workspaceStorage files.


Technical Analysis: “Loading Chat” Issue on Windows - Root Cause Findings

Environment

  • Windows 11 Enterprise (Build 26100.7171)
  • Cursor 2.1.39 (latest version as of November 2025)

Problem

Chat history older than approximately 1-2 weeks shows perpetual “Loading Chat” and never loads.

Investigation Method

I used Python scripts with SQLite to analyse the Cursor database files in:

  • %APPDATA%\Cursor\User\workspaceStorage\*\state.vscdb (per-workspace databases)
  • %APPDATA%\Cursor\User\globalStorage\state.vscdb (global database)

Key Findings

1. Cursor Uses a Two-Tier Storage Architecture

Location What’s Stored Purpose
Workspace DBs (workspaceStorage\*\state.vscdb) Chat metadata only (composerId, timestamps, titles) + rolling cache of prompts/responses in aiService.prompts and aiService.generations Per-project data
Global DB (globalStorage\state.vscdb) Recent message content in cursorDiskKV table with bubbleId:{composerId}:{bubbleId} keys Shared chat content cache
Cursor Cloud Full conversation history Primary storage

2. Local Cache is Limited

In my case:

  • 669 chat sessions referenced in workspace metadata
  • Only 17 conversations (from the last ~7 days) had message content in the global cursorDiskKV cache
  • 1,785 prompts and 1,908 AI responses were stored locally in the aiService.* tables (but not linked to the chat UI)

3. Root Cause Identified

The “Loading Chat” issue occurs because:

  1. The local cursorDiskKV cache only retains recent conversation content
  2. Older conversations have metadata locally but require cloud retrieval for actual messages
  3. The cloud retrieval is failing - either due to:
    • Authentication/sync issues after a Cursor update
    • Server-side data retention policies
    • Schema changes breaking backwards compatibility

4. This is NOT a Workspace ID Mismatch Issue

I found no duplicate workspace IDs for the same folder. Opening folders consistently produces the same workspace ID. The issue is purely cloud sync/retrieval related.

What Data IS Recoverable Locally

The aiService.prompts and aiService.generations tables in each workspace database contain a rolling cache of prompts and responses with timestamps. This data exists but:

  • Is not organised into “conversations”
  • Is limited to approximately 100-300 entries per workspace
  • Cannot be displayed in the chat UI without the composer/bubble structure from the cloud

I was able to export 1,785 prompts and 1,908 AI responses from my local databases to markdown files - the content exists, it’s just not accessible through the chat UI.

Recommendations for Cursor Team

  1. Increase local cache retention - The cursorDiskKV cache appears too aggressive in purging older conversations

  2. Implement offline fallback - The aiService.* data could be used to reconstruct conversations when cloud retrieval fails

  3. Add sync status indicators - Show users when chats are cloud-only vs locally cached

  4. Provide export functionality - Allow users to export their chat history before it becomes inaccessible

  5. Investigate cloud retrieval failures - The fundamental issue is that cloud sync is failing silently

Workaround for Users

  1. Sign out and back in to refresh authentication tokens
  2. Create .code-workspace files for projects and always open via those files (prevents future workspace ID issues)
  3. Export local data using SQLite queries if you need to recover what’s stored locally

Scripts Used

I can share the Python analysis scripts if helpful for the Cursor engineering team to reproduce and investigate.


The “Loading Chat” issue is caused by Cursor’s local cache purging older conversation content, combined with cloud retrieval failing. The data structure exists locally (metadata + some raw prompts/responses) but the cloud-dependent composer/bubble system needed for the chat UI cannot retrieve older conversations. This is a server-side/sync issue, not a local configuration problem.

I keep backups everyday of my PC and I can see the global state.vscdb on 21/11/2025 was massive compared to the day after the update:

The Cursor update basically reset this local global db cache.

How do we fix this Cursor support?

I’ve managed to get all of my chat history back.
Cursor created a Python script to merge my restored 1.4GB backup of state.vscdb with the current 30MB version with my past week’s worth of chats in.
I now have all of my chat history visible and it can be opened.

Not sure what you can do if you don’t have a backup of your state.vscdb
One for Cursor support to answer if they ever reply to this thread before Christmas.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

If you select any previous chats, the panel just says “Loading Chat”. Show chat history button also not working. New chats can be added using + button.

Steps to Reproduce

Open Cursor, select chat history option. Existing chats will not be loaded. You cannot close old chats which shows “Loading Chat”

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (system setup)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi Stevie
Can you share your python script ?
Seems that cursor team is unable to provide any help…
Thanks a lot

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor desktop app got really slow. I closed the app normally, and rebooted computer, re-opened app and now all agent chat show the text “Loading Chat” blinking an this has gone on for over 30 minutes.

I checked Network Status - fine.
I have closed and re-loaded the application 2 times.
What should i do

Steps to Reproduce

I was able to open a new Agent Chat, and have one exchange to ask a question and get a response, but then it happened to that chat as well. Nor have any of the other chats come back yet.

The bug has not changed.

Expected Behavior

It should load the chat history.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 22.6.0

For AI issues: which model did you use?

Not relevant - in application error, default models

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi Eric.
Here is the Python script it created. Not sure how much use it will be without an old backup of the state.vscdb file that I had.

Looks like Cursor screwed up the release and had it reset our state.vscdb and .backup of the same file which has caused a lot of pain for a lot of people.
They probably won’t admit to this for fear of legal repercussions.

merge_cursor_chats.zip (3.2 KB)

Hey all

@StevieG77, glad it worked for you.

@Eric_Prevost, first get cursor to figure out whether there are multiple (previous) workspace IDs associated with your workspace in question. If so, instruct Cursor agent to migrate the data in the database (state.vscdb) within previous workspace IDs to the current ID that your workspace managed on.

If there are no previous workspace IDs, get the agent to review the discrepancies in the working database (state.vscdb) vs the backup database.

No Cursor IDE update will ever delete/replace the databases (state.vscdb) or backup databases of the workspace (unless you/agent accidentally delete them), they are in the system files - this is why @StevieG77 was able to recover the past chats. However, update could change the way the data is stored or communicate with the Cursor IDE and therefore, get the agent migrate the missing data and compare the discrepancies between the old data and new ones. If there are discrepancies, get agent to run a .py script in bringing the past chats in to being compliant with the way the new data is stored.

Let me know how you get on.

Cheers

Marlon

I am experiencing a critical issue with Cursor’s chat history feature that prevents me from accessing my previous conversations with AI models.

PROBLEM DESCRIPTION:

When I attempt to open previous chat conversations in Cursor, the interface shows a “loading chat” state that never completes. The conversations remain stuck in this loading state indefinitely, making it impossible to access my conversation history.

SYSTEM INFORMATION:

- Operating System: Windows 10 (Build 10.0.26200)

- Cursor Version: 2.1.46 (as shown in exported conversation file)

TROUBLESHOOTING STEPS ALREADY ATTEMPTED:

1. Cleared Cursor cache (C:\Users\meste\AppData\Roaming\Cursor\Cache)

2. Restarted Cursor completely (verified no processes running)

3. Restarted computer

4. Verified conversation integrity - all 132 conversations have valid entries.json files with proper structure

5. Checked for corrupted files - none found

6. Verified all conversations have required fields (version, resource, entries)

TECHNICAL DETAILS:

- All conversation folders contain valid entries.json files

- No corrupted or empty files detected

- Largest conversation: 8.97 MB

- Many conversations have 50 entries (appears to be the maximum)

- File structure is intact and valid

IMPACT:

This issue significantly impacts my workflow as I cannot access previous conversations, code discussions, or solutions that were previously discussed. I rely heavily on conversation history for project continuity.

REQUEST:

Could you please investigate this issue and provide:

1. A solution to restore access to my conversation history

2. Information about any known issues with large conversation histories

3. Recommendations for managing conversation history to prevent this issue in the future

4. Any workarounds available while a permanent fix is developed

I am happy to provide additional information, logs, or perform any diagnostic steps you may require.

Thank you for your attention to this matter.

2 Likes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After Cursor’s restart (on update, or just on computer restart), all the chats are showing up “Loading Chat” forever, never actually loading it. Happens to all the chats, not just some particularly long ones. This is a big problem for me because I’m losing valuable context of a particular feature and have to re-prompt a lot of things again.
Mac on ARM processor.

Steps to Reproduce

This doesn’t reproduce every time, only happen every now and then.
Last time I updated Cursor and it happened on reload.
Before that, it happened when I restarted computer with a reset (i.e. pushed the on/off button to turn it off, not sure if it’s relevant).

Expected Behavior

The chats should be eventually loading.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.42
VSCode Version: 1.105.1
Commit: 2e353c5f5b30150ff7b874dee5a87660693d9de0
Date: 2025-12-01T02:18:26.377Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 23.6.0

For AI issues: which model did you use?

Sonnet 4.5

Does this stop you from using Cursor

No - Cursor works, but with this issue