Skip to content

[Bug]: Antigravity unverified Google account passes sign-in, then fails first turn with raw 403 "Verify your account to continue" #16078

Open

Description

@arhammahajan

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Add/enable an Antigravity provider instance in Settings > Providers.
  2. Sign in with a Gemini/Google account that has not completed Google's phone/QR verification flow.
  3. Sign-in completes with no error (provider shows authenticated, models load).
  4. Start a thread on that instance (e.g. Gemini 3.8 Flash (High)) and send a message (e.g. hello).
  5. Observe the turn failure.

Multiple-account variant: repeat with one Antigravity instance per Google account; each unverified account fails the same way on its first turn.

Expected behavior

T3 Code lets me verify the Google account in place, without requiring an external agy session. Either sign-in / Refresh detects the needs verification state and completes (or guides) the phone/QR verification step for that instance, or the first-turn 403 is converted into an in-app verification action for the affected instance/account. Verifying one instance must not require leaving T3 Code, and must work per instance when multiple accounts are configured.

Actual behavior

Sign-in succeeds silently. The error only appears when a message is sent:

Agent execution error: Agent execution terminated due to error. ("request failed (code 403): Verify your account to continue.")

Impact

Major degradation or frequent failure

Version or commit

main @ cf3e714

Environment

macOS 27 T3 Code 0.0.46-nightly.20261005.2676

Logs or stack traces

Agent execution error: Agent execution terminated due to error. ("request failed (code 403): Verify your account to continue.")

Screenshots, recordings, or supporting files

Screenshot 2026-10-05 at 18.53.21.png

Workaround

Verify the account in a separate agy/Antigravity session outside T3 Code (complete phone QR scan), then retry the thread in T3 Code. Must be repeated per Google account/instance.

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Oct 5, 2026
  2. juliusmarminge commented on Oct 5, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Triage

    Thanks for the clear repro and the multi-account note, @arhammahajan. This looks like a real gap, and I don't see a duplicate of it.

    What I found

    • Sign-in is treated as finished once the Antigravity ACP process starts and models load. AntigravityAuth publishes the authenticated state after runtime.start(), and Refresh provider status only restarts that process and republishes the catalog. Neither step asks Google whether the account still has a verification hold.
    • OAuth and the model list can succeed while the first session/prompt cannot, which matches your report: the instance looks signed in, Gemini 3.8 Flash (High) is selectable, and the turn dies with request failed (code 403): Verify your account to continue.
    • That 403 is Google's account-level VALIDATION_REQUIRED response from the Cloud Code API, not a failed T3 sign-in. The standalone agy CLI prints a one-time validation_url that opens the phone/QR page. The ACP server we run (agy_acp_server_1.1.1) only returns the flattened sentence in your screenshot. T3 never sees the URL, and nothing maps this text into a verification action. Sign-in only rewrites SUBSCRIPTION_REQUIRED. Antigravity also has no prompt-failure mapper, unlike Grok and the registry agents.
    • Verifying in a separate agy session and retrying here works because the hold is on the Google account. Each Antigravity instance is its own account, so each one needs that step. T3's sign-in is separate from the CLI on purpose (docs/user/providers-antigravity.md).
    • Provider-failure redaction currently strips query strings, and a validation_url is entirely in the query, so passing the raw error through would not be enough on its own. Bumping the agent (1.3.0 is proposed in feat(server): bump Antigravity ACP agent to 1.3.0 #15746) does not add this by itself.

    Likely fix area

    • Recognize this 403 and surface a clearer message that the Google account still has to be verified in agy, per instance.
    • If a newer ACP server starts returning validation_url, show that URL in-app (and avoid stripping the query string for that path).
    • Longer-term options around an in-app phone/QR flow would need a maintainer call, since this error today does not include the URL and we'd be careful about adding a second Google verification client next to the official agent.

    Workaround until then: verify that Google account in agy, then send the message again in T3. Repeat for each instance.

    A maintainer will decide on the fix direction.

  3. added
    via-triageFiled through npx t3 triage
    and removed
    needs-triageIssue needs maintainer review and initial categorization.
    on Oct 5, 2026
  4. juliusmarminge commented on Oct 22, 2026

    @juliusmarminge
    Member

    Fresh triage on main b5a226e49c: this reports an account-verification failure, not an exploitable vulnerability. Checked all 947 open issues for Antigravity, unverified accounts, account verification and 403 titles; no matching duplicate found. #17508 fails during sign-in, whereas this report completes sign-in and fails on the first turn.

    Reproduction is blocked: this environment has no unverified Google test account, so the reported sign-in → models load → first-turn 403 sequence was not run. No runtime reproduction or fix is claimed. Routing to Julius for account-backed reproduction and review of the per-instance sign-in/verification flow; the issue remains open.

  5. systemsssx commented on Oct 27, 2026

    @systemsssx

    This matches the verification gate layer specifically, and it is worth separating it from sign-in and from the location gate, because each has a different fix:

    1. Sign-in (OAuth) can complete for accounts that later fail -- success here proves nothing about the next two gates.
    2. Account verification returns 403 ... VALIDATION_REQUIRED with a �alidation_url in the response details. Opening that URL in a browser already signed into the same Google account and completing the phone/identity verification clears it. Until then the first real model call fails with exactly "Verify your account to continue".
    3. Only after 1+2 does the per-request location gate (source IP) come into play.

    So the UX fix you describe is right: on the 403, detect VALIDATION_REQUIRED / validation_url, surface it to the user and retry after verification. Tools that did this recently (e.g. magpie v0.1.304, pi-ai-style parsing) ended up doing the same thing.

    I documented this funnel (client eligibility flag -> Google account VALIDATION_REQUIRED -> source-IP location, plus proxy/TUN pitfalls) while debugging my own setup: https://systemsssx.github.io/antigravity-blog/ -- Chinese, my own unofficial notes, corrections welcome.

  6. joshuaManlunas commented on Nov 21, 2026

    @joshuaManlunas

    Fresh repro on 0.1.12-nightly.20261120.5009 (desktop app, macOS arm64), managed antigravity-acp 1.5.13, personal Google account (oauth-personal). Adds two things to the earlier triage: the agent now does hand T3 the validation_url, and the turn fails with even less information than this issue describes.

    What the user sees

    • Provider status: installed, ready, auth authenticated (Google account). Models load; Gemini 4 Neon is selectable.
    • First prompt in a new thread: assistant message ⚠ Verification Required, then a Provider error card: "Antigravity stopped this turn because of an error." No mention of verification, no link, no action.

    What actually happened

    • session/prompt returns end_turn within about 0.8 s. The native session DB (antigravity-acp/conversations/<session>.db) ends the turn with an error step (step_type 17, about 5.4 KB) whose payload is:
      Verification Required
      PERMISSION_DENIED (code 403): Verify your account to continue.
      HTTP 403 Forbidden
      ...
      "reason": "VALIDATION_REQUIRED",
      "metadata": {
        "validation_error_message": "Verify your account to continue.",
        "validation_url": "https://accounts.google.com/v3/signin/continue?plt=<redacted>&continue=https://developers.google.com/gemini-code-assist/auth/auth_success_gemini&sarp=1&scc=1&flowName=GlifWebSignIn&authuser",
        "validation_url_link_text": "Verify your account", ...
      
    • The ACP server log shows the same 403 and VALIDATION_REQUIRED body on background calls (retrieveUserQuotaSummary, title generation) before and after the prompt.

    Why T3 shows the generic message

    • At this nightly, AntigravityTurnOutcome.ts only parses API_ERROR = /Error (\d{3}), Message: (.+?), Status: ([A-Z_]+)/. Antigravity 1.5 writes STATUS (code NNN): message, so apiError === null and it falls through to "Antigravity stopped this turn because of an error."
    • On main, fix(antigravity): a mid-turn 404 shows its error and is retryable #39869 adds STATUS_ERROR, which should turn this into "Verify your account to continue." (PERMISSION_DENIED). The validation_url is still dropped, although it sits in the same payload T3 already reads (well under MAX_ERROR_PAYLOAD_BYTES).

    Suggested direction

    • When the error step has reason: VALIDATION_REQUIRED, extract validation_url, check that it is on https://accounts.google.com/, and surface it as a "Verify your account" action. Don't strip its query string: the plt parameter is the whole point.
    • Optionally, flag the provider's status as needing verification, since it stays authenticated / ready throughout.

    Workaround confirmed: opened the validation_url from the agent log in a browser signed in to the same Google account, completed the check, resent the message, and the turn succeeded.

    Related: #34388 (same verification URL swallowed during sign-in, closed), #17508, #39864 / #39869 (the 1.5 STATUS (code NNN) format).

    Triaged with t3 triage by Claude Opus 5.5 (Claude Code).

  7. lbzepoqo commented on Nov 21, 2026

    @lbzepoqo

    Hit the same issue on Windows x64 (0.1.12-nightly.20261121.5024, managed antigravity-acp 1.5.13) when adding a second Antigravity Google account instance. Sign-in succeeded and models loaded, then turns failed with PERMISSION_DENIED (code 403): Verify your account to continue. without showing the verification link.

    Pulling validation_url out of the acp-server log and completing the check in a browser signed in to that account cleared it immediately. Surfacing that link directly in the error message would save digging through logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions