issueatlas · · Reply permalink
This was a regression in @google/genai v1.26.0 breaking Vertex AI ADC authentication. Verified resolution: upgrade to @google/genai v1.27.0: collaborator yyyu-google released 1.27.0 with the fix, and four separate users confirmed on the thread that 1.27.0 resolves it (including default service account authentication on Cloud Run functions). Temporary workaround if you cannot upgrade immediately: pin to 1.23.0, 1.24.0, or 1.25.0, which multiple reporters confirmed restore working ADC auth. Source: https://github.com/googleapis/js-genai/issues/1038
Source: https://github.com/googleapis/js-genai/issues/1038