Title: Antigravity IDE Google AI Pro login fails with state syncing error: key not found
Hello Google Antigravity Team,
I am experiencing a persistent authentication problem with Antigravity IDE 2.5.5 on Windows.
Environment
- OS: Windows 11
- Antigravity IDE: latest version available to me
- Google account: Personal Gmail account with an active Google AI Pro subscription
- Browser authentication: successful
- Another Gmail account without Google AI Pro: able to log in on the same PC and network
Problem
When I log in to Antigravity IDE using my Google AI Pro account, Google authentication completes successfully, but Antigravity then shows:
Your account is not eligible for Gemini Code Assist for individuals at this time
The same computer and network can successfully log in using another Gmail account.
Troubleshooting already performed
I have tried:
-
Resetting the Antigravity onboarding.
-
Completely closing Antigravity IDE.
-
Renaming the following directories to create a clean profile:
%APPDATA%\Antigravity IDE%APPDATA%\Antigravity
-
Starting Antigravity again and logging in from a clean profile.
-
Re-authenticating through Google.
-
Removing the Windows Credential Manager entry:
LegacyGeneric:target=gemini:antigravity -
Logging in again after the credential was removed.
The problem persists after all of these steps.
Relevant Antigravity logs
The new clean-profile logs repeatedly show:
Failed to get OAuth token:
error getting token source from auth provider:
state syncing error: key not found
and:
failed to get load code assist response:
error getting token source:
state syncing error: key not found
The following is also reported:
Failed to get CAIC project: key not found
Additional related messages:
Cache(loadCodeAssistResponse): Singleflight refresh failed:
error getting token source: state syncing error: key not found
Cache(userInfo): Singleflight refresh failed:
failed to get load code assist response:
error getting token source: state syncing error: key not found
The errors occur immediately after successful Google authentication.
Local state investigation
I also inspected the newly generated Antigravity profile.
globalStorage\state.vscdb does not contain authentication-related keys such as:
auth
account
google
credential
token
identity
The storage metadata contains:
"antigravityUnifiedStateSync.oauthToken.hasLegacyMigrated": true
and:
"unifiedStateSync.hasUserStatusMigrated": true
However, the Antigravity authentication provider still fails with:
state syncing error: key not found
Important comparison
The same PC and network can authenticate another Gmail account successfully.
The failure appears specifically when using my Google AI Pro account.
Therefore, could the Antigravity team please investigate whether the Google AI Pro account’s Antigravity provisioning, OAuth state synchronization, or CAIC project initialization is failing?
In particular, I would appreciate checking why Antigravity reports:
Failed to get CAIC project: key not found
and why the OAuth token source cannot retrieve the required state after successful Google authentication.
I can provide sanitized Antigravity logs and additional diagnostic information if required.
Thank you.
