Unexpected issue setting up Antigravity IDE account

Subject: Antigravity IDE Login Error - "Unexpected issue setting up your account

Hi Antigravity Support Team,

I am encountering an issue while trying to log into the Antigravity IDE. Every time I complete the authentication flow, the application shows an error screen stating: “There was an unexpected issue setting up your account.”

Here are a few details about my setup:

  • Antigravity 2.0 logs in and works completely fine without any issues.

  • The problem is strictly isolated to the Antigravity IDE application.

  • I have already tried reinstalling the application, clearing local cache files, and ensuring no conflicting background processes (language_server_windows_x64.exe) are blocking the token handoff, but the error persists.

Could you please help me resolve this account setup or token looping issue?

Thank you,

Rushikesh Padghankar

​Hello there! So, from what I know, standard reinstalls actually leave behind cached app data and OAuth tokens, which is usually why this persistent error happens—especially since your Antigravity 2.0 access works fine.

Reinstalling the IDE binary doesn’t clear corrupted local session files. You need to manually purge them:

Windows: Fully close the IDE. Press Win + R, type %APPDATA%, and delete both the Antigravity and Antigravity IDE folders. Do the exact same thing in %LOCALAPPDATA%. It is indeed quite a chore…

It’s also worth mentioning that ​If you are using a Google Workspace, or work account, domain admins often allow web logins (which is why Antigravity 2.0 works) but block custom app developer/IDE scope grants.
​Try signing into the IDE with a personal @gmail.com account, or another one brand new and see if it makes a difference.

Best of luck,

  • Andy

hello, ive already did that but still the same, is there other way to fix it?

Hi @Gajanan_Padghankar,

Thank you for reporting this and providing the screenshot.

To help resolve this, please try the following steps:

1. **Reset Onboarding State in the IDE**:

- Open the Command Palette (`Ctrl+Shift+P`).

- Type and run: **`Antigravity: Reset onboarding`**.

- Restart the IDE and initiate the sign-in flow again.

2. **Check DNS, Hosts File, and Ad Blockers**:

- Ensure your Windows `hosts` file (`C:\Windows\System32\drivers\etc\hosts`) does not contain entries redirecting `cloudcode-pa.googleapis.com` or `daily-cloudcode-pa.googleapis.com` to `127.0.0.1` (often added by telemetry/ad-blocking software).

- Temporarily disable VPNs, custom proxies, or network-level DNS filters (such as Pi-hole/AdGuard) that might block requests to Google Cloud Code endpoints.

3. **Verify Account Type (Workspace vs. Personal)**:

- If you are signing in with an enterprise or Google Workspace account, your domain administrator may restrict third-party IDE API access while allowing standard web logins. Testing with a personal `@gmail.com` account can help confirm if domain policy is blocking the setup.

4. **Perform a Clean Session Reset (Windows)**:

- Close Antigravity IDE completely.

- Press `Win + R`, enter `%APPDATA%`, and delete the `Antigravity` and `Antigravity IDE` folders.

- Press `Win + R`, enter `%LOCALAPPDATA%`, and delete the `Antigravity` and `Antigravity IDE` folders.

- Relaunch the IDE and retry signing in.

Please let us know if the issue persists after trying these steps.