"Zero Page" Indexed Docs cause Connection Failed Error in Chat

Describe the Bug

When you attempt to @ a Doc ref that was previously “successfully” indexed but actually contains “0 Pages Indexed”, chat will fail with the Connection Failed message

Steps to Reproduce

Import a URL that results in 0 pages indexed → (https://community.f5.com/kb/technicalarticles/getting-started-with-irules-variables/290428)

Expected Behaviour

I think perhaps letting the user know nothing was successfully indexed from the target page when attempting to add? Maybe offer fallback ability to copy/paste the page text (like in a Claude Project)?

Screenshots (from top to bottom)

Response from a “0 Page Doc”
Console errors from the “0 Page Doc”
Successful response from a correctly indexed doc

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → Abount Cursor → Copy)

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z (14 hrs ago)

Additional Infomation

Easy work-around for this, just don’t reference an empty Docs link. But I think providing some feedback to the user when attempting to index a site yields nothing (for some JS generated sites, likely)

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

bumping this this just happened to me using
Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631