Chat history not loading

Describe the Bug

I have saved workspaces in Cursor IDE. after I updated the new Cursor version, the chat sessions don’t load any more; what should I do? I quit and restarted Cursor; also cleared Cursor’s cache and there is no new updates. What should I do? my current Cursor version (2.2.43), macOS version. Version: Cursor 2.2.43
OS: macOS 23.3.0 (darwin)
Issue: Cannot open saved chat sessions for workspace
Workspace: Multiple .code-workspace files in same directory
Error from logs: BrowserViewMainService: Cannot execute JavaScript: browser view not created

Steps to Reproduce

I open a new Cursor window, then load the workspace. when I click on the chat session, the window shows ‘Loading Chat’ but never loads. also, when I click on the chat history session, the window doesn’t open.

Expected Behavior

the chat history opens and I can continue my interaction with the chat

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: Cursor 2.2.43
OS: macOS 23.3.0 (darwin)
Issue: Cannot open saved chat sessions for workspace
Workspace: Multiple .code-workspace files in same directory
Error from logs: BrowserViewMainService: Cannot execute JavaScript: browser view not created

For AI issues: which model did you use?

Opus 4.5

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Sorry you ran into this.

This is a known bug the team is working on. Unfortunately, once it happens, recovery isn’t possible through the usual methods.

That said, please try this:

  1. Fully close Cursor
  2. Go to %APPDATA%\Cursor\User\globalStorage\
  3. Check if there’s a file named state.vscdb.backup
  4. If it exists, make a copy of the current state.vscdb, then replace it with state.vscdb
  5. Start Cursor again

One user reported that this helped restore their history:

For the future:

  • Export important chats regularly (three dots at the top of the chat → Export Chat)
  • Consider using the SpecStory extension for automatic exports
  • Make sure you have enough free disk space before updates

Let me know if the backup file helped.