Repository navigation
[Bug] 403 Forbidden on gemini-4-argon via OmniRoute: Caller lacks permission for aicode-consumers (Pro Subscription) #18039
Replies: 9 comments 2 replies
|
@0xDefton3s Thanks for the report. What I can verify: To narrow it: does another Antigravity model (for example a Gemini 3.x one) work on the same connection, or do all of them return this 403? And did the connection show as connected after a fresh login? If only |
|
Thanks for the quick response and info! I ran the tests you suggested, and here is how it looks:
Since web access works fine while the API route gets blocked on that |
|
@0xDefton3s Thank you, that's useful and it changes what I'd conclude: the other Gemini 3.x and Antigravity models work, a fresh login with a clean account doesn't help, only I can't change that from OmniRoute, and I haven't found any place where OmniRoute sets that project; the request goes out with the account's own project. I haven't reproduced it (I have no account with the model). Two possibilities I can't distinguish: Google restricts |
|
I have the same issue. I’m using Omniroute with the latest version of npm. The Google Pro account I added via Connections links shows version Gemini 3.8 (But, Antigravity VS Code extension shows Argon 4). When I add Argon 4 as a custom model in Omniroute, I also get a 403 error. |
|
@0xDefton3s Thank you, the payloads help. What the logged call shows: OmniRoute sent the model id exactly as One thing I can see in the code (v3.8.52): in OmniRoute's Antigravity model list, Gemini 4 Argon is listed only as tiered ids,
If a tier id works, the bare name is the problem and we can map it. If they also return 403 with the same body, it's on Google's side for that channel, and the official Antigravity app likely uses a different client identity than OmniRoute's. |
|
@0xDefton3s Thanks for running both. Since What's left points at Google's side. I don't have a fix to offer. If anyone gets |
|
The Argon 4 has arrived at Antigravity IDE. I think the Omniroute model will be available soon. |



Uh oh!
There was an error while loading. Please reload this page.
Bug Description
When trying to use
gemini-4-argonthrough Antigravity / OmniRoute, the requests fail with a 403 Forbidden upstream error stating that the caller lacks the required permissions for theaicode-consumersGoogle Cloud project.Note: The account being used has an active Pro subscription, yet it triggers this project-level permission block.
Error Message
[antigravity/gemini-4-argon] [403]: Antigravity upstream error (403): Caller does not have required permission to use project aicode-consumers. Grant the caller the roles/serviceusage.serviceUsageConsumer role, or a custom role with the serviceusage.services.use permission, by visiting https://console.developers.google.com/iam-admin/iam?project=aicode-consumers and then retry. Propagation of the new permission may take a few minutes. (reset after 5m)
Context & What Happens
gemini-4-argonare blocked by upstream IAM checks on the Google-managedaicode-consumersproject.aicode-consumersis an external/managed Google Cloud project rather than a user-owned project, standard users cannot grant themselves the required role.Expected Behavior
Requests to
gemini-4-argonvia OmniRoute should authenticate successfully for Pro tier users without triggering project-level IAM permission blocks foraicode-consumers.Environment
gemini-4-argonAll reactions