Google/Gemini spam in editor

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I get constant spam from gemini, even though its disabled in settings. it tries to refresh some credentials every while in a loop.

I don’t want it to work at all, including refreshing credentials.

Steps to Reproduce

I think google services are blocked somewhere on the route, i don’t think you can reproduce without that. Or gemini is not available in my country.

Expected Behavior

If gemini is disabled, i don’t want any retries to get the credentials. Especially in an endless loop.

Screenshots / Screen Recordings

gemini.png

Operating System

Windows 10/11

Version Information

Version: 3.2.16 (user setup)
VSCode Version: 1.105.1
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This notification isn’t from Cursor. There isn’t any client-side credential refresh loop for Google or Gemini in our codebase. Requests to Gemini go through our backend, and there is no Google OAuth flow on the client. So the Gemini toggle in Settings > Models doesn’t affect this notification. It isn’t coming from there.

The text “Failed to refresh Google Credentials, retrying in Xs” looks like a separate extension trying to refresh a Google OAuth token and getting blocked. Most often it’s:

  • Gemini Code Assist Google.geminicodeassist
  • Cloud Code GoogleCloudTools.cloudcode
  • something Firebase or Google Cloud related

Open the Extensions panel with Ctrl+Shift+X, filter for Google or Gemini, and disable or uninstall whatever you find. After Reload Window, the spam should stop.

If you don’t have any such extension, please send a screenshot of your installed extensions list and we’ll take a look together. Also check Settings > Models, if a Google API key is saved there, you can remove it.

thanks, indeed, it was enabled. probably i tried various solutions back when used vscode and it was migrated to cursor.