Antigravity HTTP 400 Bad Request

I can’t use Antigravity with agent anymore. I’m getting this error for the past month. My non-pro account works, but my pro account is the one getting this error. I tried log in and out, reinstalling the antigravity and I also tried Antigravity on my windows machine, but the same error.

Trajectory ID: 3db11b79-dc17-4a5
Error: HTTP 400 Bad Request
Sherlog:
TraceID: 0xd6e96c0
Headers: {“Alt-Svc”:[“h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000”],“Content-Length”:[“382”],“Content-Type”:[“text/event-stream”],“Date”:[“Fri, 27 Feb 2026 05:07:17 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=481”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“d6e96c0ec07457de”],“X-Content-Type-Options”:[“nosniff”],“X-Frame-Options”:[“SAMEORIGIN”],“X-Xss-Protection”:[“0”]}

{
“error”: {
“code”: 400,
“details”: [
{
@type”: “type.googleapis.com/google.rpc.BadRequest”,
“fieldViolations”: [
{
“description”: “Invalid project resource name”,
“field”: “name”
}
]
}
],
“message”: “Invalid project resource name projects/”,
“status”: “INVALID_ARGUMENT”
}
}

1 Like

Trajectory ID: 13ebd27e-f3b9-4a3d-9
Error: HTTP 400 Bad Request
Sherlog:
TraceID: 0x5f5bf2
Headers: {“Alt-Svc”:[“h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000”],“Content-Length”:[“546”],“Content-Type”:[“text/event-stream”],“Date”:[“Fri, 27 Feb 2026 15:48:39 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=354”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“5f5bf23fcd8df9”],“X-Content-Type-Options”:[“nosniff”],“X-Frame-Options”:[“SAMEORIGIN”],“X-Xss-Protection”:[“0”]}

{
“error”: {
“code”: 400,
“message”: “* GenerateContentRequest.tools[16].function_declarations[0].parameters.properties[args].items: missing field.\n* GenerateContentRequest.tools[22].function_declarations[0].parameters.properties[children].items: missing field.\n* GenerateContentRequest.tools[26].function_declarations[0].parameters.properties[type].enum[0]: cannot be empty\n* GenerateContentRequest.tools[30].function_declarations[0].parameters.properties[filter].enum[0]: cannot be empty\n”,
“status”: “INVALID_ARGUMENT”
}
}

After the latest update, I’m experiencing the same error. I uninstalled and reinstalled it, but the problem persists.

Hi @Hiran_Bandarigoda,

Welcome to the Forum,

We apologize for the inconvenience and have escalated this issue for a thorough investigation. Please refer to the main discussion thread here for updates.

Hi @Mehmet_Apaydin,

Welcome to the Forum,

The API request failed with a 400 Bad Request due to invalid JSON schemas in your Tool/Function definitions.

The specific validation errors are:

  • Missing items definition: Array parameters (args, children) in tools at indices 16 and 22 lack the required items definition.
  • Empty string in enum: Tools at indices 26 and 30 contain an empty string (" ") in their enum lists.

To troubleshoot this issue, please:

  • Ensure you are using the latest version of Antigravity (v1.19.6).
  • If using MCP servers, temporarily disconnect them in your Antigravity settings and retry the request.

Hi,

As I mentioned in the first post I reinstalled also. I even tried on my windows. Still not working. I saw some others also having the same issue

Bug Report: Antigravity “Invalid project resource name projects/” - HTTP 400 Bad Request
Description: I am encountering a persistent error when using Antigravity. Even after re-logging and clearing cache, the issue remains. It appears that the backend is failing to assign a valid Project ID, returning “projects/” instead.

Error Details:

  • Error Message: Invalid project resource name projects/

  • Status: INVALID_ARGUMENT (HTTP 400)

  • TraceID: 0x67d6db80ab42…

  • Trajectory ID: 14c5d787-5ddd-4cbd-bf9c-c19bee…

Troubleshooting performed:

  • Cleared local configuration and cache.

  • Re-authenticated with Google Account.

  • Revoked and re-granted App permissions.

This seems to be a widespread backend synchronization issue. Please investigate why my account is not being assigned a valid project resource name.

Still no valid solution for this. I’m gonna unsubscribe pro

1 Like

Trajectory ID: bd9c3fba-27db-4000-99f5-437c808..
Error: HTTP 400 Bad Request
Sherlog:
TraceID: 0xcc22cf60f19…
Headers: {“Alt-Svc”:[“h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000”],“Content-Length”:[“382”],“Content-Type”:[“text/event-stream”],“Date”:[“Fri, 06 Mar 2026 17:01:36 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=1379”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“cc22cf60f1908c96”],“X-Content-Type-Options”:[“nosniff”],“X-Frame-Options”:[“SAMEORIGIN”],“X-Xss-Protection”:[“0”]}

{
“error”: {
“code”: 400,
“details”: [
{
@type”: “type.googleapis.com/google.rpc.BadRequest”,
“fieldViolations”: [
{
“description”: “Invalid project resource name”,
“field”: “name”
}
]
}
],
“message”: “Invalid project resource name projects/”,
“status”: “INVALID_ARGUMENT”
}
}

Hi @Hiran_Bandarigoda @Yi_Duan,

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.

Please be assured that our internal team is reviewing this issue. We appreciate your continued patience as we work to enhance the Antigravity experience.