diegosouzapw/OmniRoute · error

[models] antigravity onboardUser failed at ${url} (${respons

Error message

[models] antigravity onboardUser failed at ${url} (${response.status}) — trying next

What it means

Error "[models] antigravity onboardUser failed at ${url} (${response.status}) — trying next" thrown in diegosouzapw/OmniRoute.

Source

Thrown at open-sse/services/antigravityProjectBootstrap.ts:211

      if (response.ok) {
        // Accounts Google expects to Bring Their Own Project: onboardUser
        // returns 200 without a `cloudaicompanionProject` in the body — no
        // automatic project creation for standard-tier/personal accounts
        // (tracked in #8491). Detect that so we can fail fast with a clear
        // instruction instead of retrying forever or fabricating an id that
        // Google later rejects with a delayed 429 RESOURCE_EXHAUSTED.
        const body = await response.text().catch(() => "");
        if (body && !/cloudaicompanionProject/.test(body)) {
          console.warn(
            `[models] antigravity onboardUser done but no project in response at ${url} — Google BYOP (user-defined GCP project) required`
          );
          return "requires_manual_project";
        }
        return "onboarded";
      }

      console.warn(
        `[models] antigravity onboardUser failed at ${url} (${response.status}) — trying next`
      );
    } catch (error) {
      if (signal?.aborted || (error instanceof Error && error.name === "AbortError")) {
        throw signal?.reason ?? error;
      }
      const msg = error instanceof Error ? error.message : String(error);
      console.warn(`[models] antigravity onboardUser threw for ${url}: ${msg} — trying next`);
    }
  }
  return "failed";
}

/**
 * Per-token failure backoff for the onboardUser creation path.
 *
 * A FAILED onboard attempt must never be memoized as "done": a transient
 * upstream/network error would otherwise poison the account for the whole

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at open-sse/services/antigravityProjectBootstrap.ts:211 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/634c592bce1cc58d. Report an issue: GitHub.