403 TOS_VIOLATION (account disabled) on Cloud Code content generation - loadCodeAssist/fetchAvailableModels return 200, only streamGenerateContent is refused
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 1/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- google-cloud, typescript
調査の方向性
The report describes Google Cloud Code endpoints and an account-level 403, but names no Gemini CLI files, tests, or entry points to inspect. Start by checking whether the CLI makes the reported streamGenerateContent request and how it handles this response; done means identifying a reproducible CLI behavior and a scoped change, if one exists. The report says the affected requests come from OpenCode, so the underlying account suspension may be outside this repository's control.
索引モデルが issue の本文から書いたものです。
説明
What happened?
My Google account is rejected by the Cloud Code backend with a hard, account-level suspension. Every content-generation request returns:
This service has been disabled in this account for violation of Terms of Service.
Please submit an appeal to continue using this product.
The error is returned by Google itself, with reason: TOS_VIOLATION, domain: cloudcode-pa.googleapis.com and an appeal link inside the error metadata:
{
"error": {
"code": 403,
"message": "This service has been disabled in this account for violation of Terms of Service. Please submit an appeal to continue using this product.",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "TOS_VIOLATION",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"appeal_url": "https://forms.gle/hGzM9MEUv2azZsrb9",
"appeal_url_link_text": "Submit Appeal",
"uiMessage": "true"
}
}
]
}
}
I have already submitted that appeal form (2026-11-16). Reporting it here with the measurements below, since this looks like the same wave described in #29759 and #30262, and because the failure signature (loadCodeAssist / fetchAvailableModels return 200 while only streamGenerateContent is refused) may help to narrow it down.
What did you expect to happen?
That content generation from my account would keep working (Google AI Pro subscription active, quota healthy), or at least a clear error that distinguishes an account-level suspension from a quota or authentication problem. Right now the only signal is a 403 with a ToS message, while every other call on the same account and the same OAuth token succeeds.
Client information
The affected requests do not come from the Gemini CLI itself but from OpenCode (the open-source terminal coding agent) using the Antigravity OAuth flow (opencode-antigravity-auth), which speaks the same Cloud Code API as Antigravity / Gemini CLI / Gemini Code Assist. Equivalent information:
- Platform: Windows
- Endpoint:
https://daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse - Model:
gemini-4-argon-medium(Antigravity "Gemini 4 Argon (Medium)") - Project:
aicode-consumers - Auth: Google OAuth (Antigravity subscription), no API key
- User-Agent:
antigravity/hub/2.32.1 (aidev_client; os_type=darwin; arch=arm64) - Plugin:
[email protected]
Login information
Google Account (OAuth through the Antigravity product login), Google AI Pro subscription.
Anything else we need to know?
1. Only the generation call is refused. With the same account and the same access token:
| Call | Result |
|---|---|
daily/v1internal:fetchAvailableModels |
200 |
daily/v1internal:retrieveUserQuota |
200 |
daily/v1internal:loadCodeAssist |
200 |
prod/v1internal:loadCodeAssist |
200 |
prod/v1internal:retrieveUserQuota |
403 SUBSCRIPTION_REQUIRED (normal for that route) |
daily/v1internal:streamGenerateContent |
403 TOS_VIOLATION |
prod/v1internal:generateContent |
403 TOS_VIOLATION |
The account itself is not suspended: OAuth, catalog, quota and onboarding all work.
2. Minimal reproduction outside any client. Refresh the OAuth token, then POST to https://daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse with the Antigravity Hub User-Agent and a body of ~2 tokens, no tools and no systemInstruction:
- with my account -> 403
TOS_VIOLATION - with a second Google account (same family plan, added on 2026-11-14 while diagnosing the false 429 in #622 of the plugin repo) -> 200 with a real completion
So the request shape is irrelevant (a 2-token request is rejected too), and the plugin, network path, quota handling and OAuth flow are healthy - only one account is flagged.
3. The same account still works everywhere else. Gemini web and AI Studio keep generating normally with this account, so this is limited to the Cloud Code content-generation endpoint.
4. Context on the usage (for the appeal). I use OpenCode as my main coding client and prefer it over the Antigravity IDE for my daily workflow. Everything runs with my own paid subscription and my own account: no resale, no credential sharing, no scraping, no automation against the quota, no evasion of any limit, and no malicious intent whatsoever. The only non-standard aspect is that the requests come from a third-party open-source client instead of the official IDE, which I understand can trip the anti-abuse heuristics - I have already acknowledged that in the appeal form. The appeal form itself recommends using "a Vertex or AI Studio API key rather than a product login" for third-party coding agents, which is the path I will follow if the account is reinstated.
5. Related reports: #29759 (same error and same appeal form, many users with paid plans), #30262 (same signature, closed as a false positive), #29576 (appeal submitted, suspension persists), #29869 (appeal without reinstatement).
- 主要言語
- TypeScript
- スター
- 109k
- フォーク
- 15k
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 106
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-gemini/gemini-cli のほかの issue
-
status/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google-gemini/gemini-cli#30412 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
--acp never answers initialize when a sandbox is enabled (stdin read as a piped prompt before the sandbox hop)対応中かも @Raamia が 1 日前に担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-gemini/gemini-cli#30398 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
** Docs: `/shells` slash command (and `/bashes`) is documented but was removed in #22740 — tutorial and tip tell users to run a command that doesn't exist対応中かも @DZH166 が 1 日前に担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google-gemini/gemini-cli#30396 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
** Docs: System Prompt Override guide links "Persisting Environment Variables" to an anchor that does not exist in authentication.mdx対応中かも @DZH166 が 2 日前に担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
google-gemini/gemini-cli#30394 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
core tests: orphan PTY slave fd test fails on Macs where /dev/ttys001 exists対応中かも @Anoshor が 2 日前に担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google-gemini/gemini-cli#30384 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
google-gemini/gemini-cli の issue をすべて見る
似ている issue
-
qa-manually-tested Status: Triage Type: Bug / Error
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mermaid-js/mermaid-v13#1158 ·
メンテナーはふだん 1 日以内に返信
-
Bug Daily
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Expensify/App#107705 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Changing shipping to country value from storefront homepage creates an invalid URL対応中かも @Riamus78 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
medusajs/dtc-starter#106 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
digitalfabrik/integreat-app#4558 ·
メンテナーはふだん 5 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
redhat-developer/podman-desktop-ibmcloud-account-ext#755 ·
メンテナーはふだん 1 日以内に返信