You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Upgrading from 2.41.1 to 2.42.0+ causes 403: Request had insufficient authentication scopes when accessing Google Sheets API from Vertex AI Pipelines. Same code, same service account, same IAM permissions.
Error:
google.api_core.exceptions.Forbidden: 403 POST https://sheets.googleapis.com/v4/spreadsheets/[ID]/values:batchUpdate:
Request had insufficient authentication scopes.
The Problem
Upgrading from 2.41.1 to 2.42.0+ causes
403: Request had insufficient authentication scopeswhen accessing Google Sheets API from Vertex AI Pipelines. Same code, same service account, same IAM permissions.Error:
Context:
Only known change between builds was google-auth version (unpinned as
google-auth>=2.0.0).In addition:
Environment
Platform: Vertex AI Pipelines (KFP v2.14.5), Python 3.12 in Docker container
Authentication: Impersonated service account credentials via Vertex AI runtime (ADC from GCE metadata service)
Code:
Works in 2.41.1, fails for us in 2.42.
Workaround
google-auth>=2.0.0,<2.42.0Questions