Bug Report: Authentication Failure in Antigravity Client - "Failed to exchange authorization code for token"

Dear Antigravity Support Team,

I am writing to report a persistent authentication issue I encountered while setting up my account on the Antigravity desktop client.

Issue Description: After clicking “Sign in with Google” and successfully completing the login process in my browser, the client fails to synchronize. It displays the following error message:

“There was an unexpected issue setting up your account. Failed to exchange authorization code for token.”

Environment Details:

  • OS: Windows 11

  • Network: Using AdGuard VPN (Tun mode enabled).

  • Browser: [請填寫你的瀏覽器,例如:Chrome / Edge]

  • Region: Taiwan

Steps Taken:

  1. Launched Antigravity client and selected “Agent-driven development” mode.

  2. Clicked “Sign in with Google”.

  3. Successfully logged into my Google account via the external browser.

  4. The browser attempts to redirect back to the client, but the client remains unresponsive and eventually shows the “Failed to exchange token” error.

Request: Please investigate this issue and consider releasing a hotfix or a revised version to improve the reliability of the OAuth callback mechanism, especially for users in complex network environments. If there is a manual workaround or a specific configuration I should adjust in my network settings, please let me know.

I have attached screenshots of the error for your reference. Looking forward to your response and a resolution.

Best regards,

Hi @lei_mix ,

Thank you for bringing this to our attention. We have escalated the issue to our internal teams for a thorough investigation.

To ensure our engineering team can investigate and resolve these issues effectively, we highly recommend filing bug reports directly through the Antigravity in-app feedback tool. You can do this by navigating to the top-right corner of the interface, clicking the Feedback icon, and selecting Report Issue.

1 Like

Now I successfully login my Google account in Antigravity desktop (there was no n-app feedback tool or such icons to feedback ), I have no ideas that sunch stuition would happen agian or will be seen in another devices.

hi, for me also same problem ,can you help me for rectify this?

Update the client, change network, use a brand new proxy ,restart the laptop, reinstall,etc

Dinesh kumar S <notifications@discuss.ai.google.dev> 於 2026年4月13日週一 下午2:43寫道:

see i can’t do this network,client and but i reinstaleld the application also but also that error is there..