Sourcegraph Cody Not Working in VS Code

Share
Workaround available VS Code Updated November 14, 2026Based on 2 user reportsHow we research

Quick answer

Update the extension first, then check the Output log. Most remaining cases are stale keychain credentials, TLS or proxy interference, or the account no longer being eligible.

Most likely fix: Update and read the logs

How to fix it

Try these in order — the most common fix is first.

  1. 1. Update and read the logs

    1. Run Extensions: Check for Extension Updates
    2. Run Developer: Toggle Developer Tools and look at the Console
    3. Open View > Output and select Cody by Sourcegraph; enable Cody > Debug: Verbose for more detail
    Did this fix it?
  2. 2. Fix the macOS keychain error

    1. Close VS Code
    2. Open Keychain Access and delete the vscodesourcegraph.cody-ai entry
    3. Reopen VS Code and sign in again (fixes 'Command cody.set-access-token not found')
    Did this fix it?
  3. 3. Check your network

    1. Disable VPNs, anonymizers and open proxies (a Cloudflare 403 Forbidden is the usual symptom)
    2. If slow, email support@sourcegraph.com with your location, proxy setup and models used
    Did this fix it?

Symptoms

Chat does not respond, completions are slow or missing, or the extension shows errors after install or update.

Why it happens

  • Outdated extension
  • Stale keychain entry (macOS)
  • VPN, proxy or anonymizer blocking requests
  • Account on a discontinued plan (Free or Pro)
  • Files excluded by admin contextFilters

This guide also covers

  • cody not working vscode
  • sourcegraph cody extension not responding
  • cody vs code slow
  • cody set-access-token not found

Still not working?

If Sourcegraph keeps failing, you're not alone. See every Sourcegraph problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Sourcegraph errors

All 11 Sourcegraph errors and fixes →