Bug: Login stuck with "state syncing error: key not found" after switching to a new account (macOS)

Environment:

  • OS: macOS

  • Antigravity Version: Latest

Description: I am encountering a persistent and critical login issue. My initial account ran out of quota, so I purchased a Pro subscription on a new account. However, when I attempted to log in with the new Pro account, the application became completely unresponsive. The login process hangs, and the logs indicate that the auth provider is failing to sync the state.

Error Logs:

Plaintext

2026-03-21 01:22:42.369 [info] E0321 01:22:42.367172 78311 server.go:520] Failed to get OAuth token: error getting token source from auth provider: state syncing error: key not found
2026-03-21 01:22:42.369 [info] W0321 01:22:42.367212 78311 client.go:167] failed to set auth token
2026-03-21 01:22:42.369 [info] W0321 01:22:42.369364 78311 log_context.go:118] Cache(userInfo): Singleflight refresh failed: error getting token source: state syncing error: key not found
2026-03-21 01:22:42.374 [info] (Antigravity) 2026-03-21 01:22:42.374 [INFO]: LS lspClient started successfully
2026-03-21 01:22:43.483 [info] I0321 01:22:43.483466 78311 system_mcps.go:80] Chrome DevTools MCP URL discovered at http://127.0.0.1:60473/mcp, stopping watcher

Steps Already Attempted (Without Success): To resolve this, I performed a completely clean wipe of the application and its hidden cache directories by executing the following commands in the terminal:

Bash

rm -rf ~/.antigravity
rm -rf ~/Library/Application\ Support/Antigravity
rm -rf ~/Library/Caches/Antigravity

After executing these commands, I completely uninstalled and reinstalled the latest version of Antigravity. Despite this clean installation, the exact same key not found error persists when I try to log in.

It appears the auth state is permanently stuck or failing to generate/store a new token for the switched account. Any help would be greatly appreciated as I am currently locked out of my Pro subscription.

i’ve never heard of this before must be new

spoiller : i solved this 7 days ago, it looks like google is doing security sweeps every 12 hours now midnight and noon looking for multi account. theres only one solution - single google in mac settings accounts, single google in antigravity, single google in default system browser. make it all match, then reboot before it slaps ya with another 7 day.

https://www.reddit.com/r/google_antigravity/comments/1rvkqp5/ag859_solved_5_hour_refresh_workaround_legal_for/