# Running into this error when using Antigravity

**URL:** <https://discuss.ai.google.dev/t/running-into-this-error-when-using-antigravity/138361>\
**Category:** Google Antigravity\
**Tags:** bug\
**Created:** [April 7, 2026, 8:38pm UTC](https://discuss.ai.google.dev/t/running-into-this-error-when-using-antigravity/138361 "2026-04-07T20:38:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_Jammer](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jacob_jammer/32/112294_2.png) [@Jacob\_Jammer](https://discuss.ai.google.dev/u/Jacob_Jammer)\
**Post date:** [April 7, 2026, 8:38pm UTC](https://discuss.ai.google.dev/t/running-into-this-error-when-using-antigravity/138361/1 "2026-04-07T20:38:41Z")

</div>

Trajectory ID: 3204147c-d9bf-4de9-bf91-480a73f  
Error: HTTP 400 Bad Request  
Sherlog:  
TraceID: 0xe5af728188ecc  
Headers: {“Alt-Svc”:[“h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000”],“Content-Length”:[“382”],“Content-Type”:[“text/event-stream”],“Date”:[“Tue, 07 Apr 2026 20:35:02 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=79”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“e5af728188ecc2e5”],“X-Content-Type-Options”:[“nosniff”],“X-Frame-Options”:[“SAMEORIGIN”],“X-Xss-Protection”:[“0”]}

{  
“error”: {  
“code”: 400,  
“details”: [  
{  
“@type”: “[type.googleapis.com/google.rpc.BadRequest”](http://type.googleapis.com/google.rpc.BadRequest%E2%80%9D),  
“fieldViolations”: [  
{  
“description”: “Invalid project resource name”,  
“field”: “name”  
}  
]  
}  
],  
“message”: “Invalid project resource name projects/”,  
“status”: “INVALID\_ARGUMENT”  
}  
}

What are the steps to fix? I have been having this issue for going on 3 months so I have just been coding like the ancients.

---

<div class="post-metadata">

**Author:** ![chunduriv](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chunduriv](https://discuss.ai.google.dev/u/chunduriv)\
**Post date:** [April 8, 2026, 8:49pm UTC](https://discuss.ai.google.dev/t/running-into-this-error-when-using-antigravity/138361/2 "2026-04-08T20:49:11Z")

</div>

Hi @Jacob_Jammer,

Welcome to the Forum,

This issue sometimes occurs when your primary email identity changes, which breaks the automated linking and results in this error. If this applies to your situation, please try the workaround suggested [here](https://discuss.ai.google.dev/t/critical-bug-http-400-invalid-project-resource-name-projects-after-gmx-to-gmail-migration/128678/2).

---

<div class="post-metadata">

**Author:** ![Jacob\_Jammer](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jacob_jammer/32/112294_2.png) [@Jacob\_Jammer](https://discuss.ai.google.dev/u/Jacob_Jammer)\
**Post date:** [April 14, 2026, 5:15pm UTC](https://discuss.ai.google.dev/t/running-into-this-error-when-using-antigravity/138361/3 "2026-04-14T17:15:53Z")

</div>

are there other fixes? I need to keep the current email the main email on my google account so changing the main email is not a fix I can do.
