{"record":{"id":"03fc8d8f099dafc7","repo":"diegosouzapw/OmniRoute","slug":"identity-unverified","errorCode":"identity_unverified","errorMessage":"Could not verify the account email from the agy token (no userinfo). Pass overwriteExisting: true to import without email verification.","messagePattern":"Could not verify the account email from the agy token \\(no userinfo\\)\\. Pass overwriteExisting: true to import without email verification\\.","errorType":"exception","errorClass":"AgyAuthFileError","httpStatus":409,"severity":"error","filePath":"src/lib/oauth/utils/agyAuthImport.ts","lineNumber":232,"sourceCode":"          resolvedEmail ||\n          \"Antigravity CLI (imported)\",\n        testStatus: \"active\",\n        isActive: true,\n        providerSpecificData: {\n          ...toRecord(existing.providerSpecificData),\n          clientProfile: \"cli\",\n          tokenType: enriched.tokenType,\n          authMethod: enriched.authMethod,\n          projectId: enriched.projectId ?? toRecord(existing.providerSpecificData).projectId,\n          tier: enriched.tier ?? toRecord(existing.providerSpecificData).tier,\n          importedAt: new Date().toISOString(),\n        },\n      });\n\n      return { connection: updated || existing, created: false };\n    }\n  } else if (!options.overwriteExisting) {\n    throw new AgyAuthFileError(\n      \"Could not verify the account email from the agy token (no userinfo). Pass overwriteExisting: true to import without email verification.\",\n      409,\n      \"identity_unverified\"\n    );\n  }\n\n  const name = options.name || resolvedEmail || \"Antigravity CLI (imported)\";\n\n  const connection = await createProviderConnection({\n    provider: \"agy\",\n    authType: \"oauth\",\n    name,\n    email: resolvedEmail || undefined,\n    accessToken: enriched.accessToken,\n    refreshToken: enriched.refreshToken,\n    expiresAt: enriched.expiresAt,\n    isActive: true,\n    testStatus: \"active\",","sourceCodeStart":214,"sourceCodeEnd":250,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/oauth/utils/agyAuthImport.ts#L214-L250","documentation":"Error \"Could not verify the account email from the agy token (no userinfo). Pass overwriteExisting: true to import without email verification.\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/oauth/utils/agyAuthImport.ts:232 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"}