{"record":{"id":"b7ea9de9f9c369b1","repo":"diegosouzapw/OmniRoute","slug":"models-antigravity-onboarduser-done-but-no-proje","errorCode":null,"errorMessage":"[models] antigravity onboardUser done but no project in response at ${url} — Google BYOP (user-defined GCP project) required","messagePattern":"\\[models\\] antigravity onboardUser done but no project in response at (.+?) — Google BYOP \\(user-defined GCP project\\) required","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"open-sse/services/antigravityProjectBootstrap.ts","lineNumber":203,"sourceCode":"        method: \"POST\",\n        headers,\n        body: JSON.stringify({\n          tier_id: tierId,\n          metadata: getAntigravityLoadCodeAssistMetadata(),\n        }),\n        signal: signal ? AbortSignal.any([signal, timeoutSignal]) : timeoutSignal,\n      });\n\n      if (response.ok) {\n        // Accounts Google expects to Bring Their Own Project: onboardUser\n        // returns 200 without a `cloudaicompanionProject` in the body — no\n        // automatic project creation for standard-tier/personal accounts\n        // (tracked in #8491). Detect that so we can fail fast with a clear\n        // instruction instead of retrying forever or fabricating an id that\n        // Google later rejects with a delayed 429 RESOURCE_EXHAUSTED.\n        const body = await response.text().catch(() => \"\");\n        if (body && !/cloudaicompanionProject/.test(body)) {\n          console.warn(\n            `[models] antigravity onboardUser done but no project in response at ${url} — Google BYOP (user-defined GCP project) required`\n          );\n          return \"requires_manual_project\";\n        }\n        return \"onboarded\";\n      }\n\n      console.warn(\n        `[models] antigravity onboardUser failed at ${url} (${response.status}) — trying next`\n      );\n    } catch (error) {\n      if (signal?.aborted || (error instanceof Error && error.name === \"AbortError\")) {\n        throw signal?.reason ?? error;\n      }\n      const msg = error instanceof Error ? error.message : String(error);\n      console.warn(`[models] antigravity onboardUser threw for ${url}: ${msg} — trying next`);\n    }\n  }","sourceCodeStart":185,"sourceCodeEnd":221,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/services/antigravityProjectBootstrap.ts#L185-L221","documentation":"Error \"[models] antigravity onboardUser done but no project in response at ${url} — Google BYOP (user-defined GCP project) required\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/services/antigravityProjectBootstrap.ts:203 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}