Unable to use Cursor Chat – "An unexpected error occurred"

Hi @kenzoo @Madhan_Santharaman I think I have a good solution for you.
Can you press Ctrl + Shift + P to Bring up the Command Palette and then type Open VS Code Settings.

Then search for Certificate and make sure the following two options are selected:

  • Http: System Certificates
  • Http: Experimental System Certificates V2.

That is the graphical way of modifying the settings, but if you prefer, you can also do it this way:
Using settings.json

  1. Press Ctrl+Shift+P.
  2. Run Preferences: Open User Settings (JSON).
  3. Add:
{

"http.systemCertificates": true,
"http.experimental.systemCertificatesV2": true

}

If other settings already exist, add these inside the existing {} with commas between entries.

  1. Save, fully quit Cursor, and reopen it.
  2. Rerun Network Diagnostics.

Both will have the same results.