Hello everyone,
I have a problem with Google Antigravity on Windows that I can’t solve. I hope someone from the community or the Google team can help me.
Problem: every time I start the agent in Antigravity, I get the error “Agent terminated due to error” with HTTP 400 Bad Request and message “Invalid project resource name projects/”. The Project ID after “projects/” is empty.
My account has an active Google AI Pro subscription. Two-step verification is active. The GCP project exists and is correctly configured with the Cloud AI Companion API enabled and my account has the role of Owner.
In the Logs of the Language Server I find these errors:
- “Failed to get OAuth token: state syncing error: key not found”
- “agent executor error: Invalid project resource name projects/”
Attempts to resolve already made without success:
1. Complete cleaning of the Antigravity cache
2. Manual project setting in settings.json
3. Setting the environment variable GOOGLE_CLOUD_PROJECT
4. Complete reinstallation of the app
Important note: with another Google account on the same PC, Antigravity works properly. This makes me think that the problem is related to the provisioning of my specific account.
Has anyone encountered and solved the same problem? Thank you in advance for any suggestions.