diff --git a/src/sentry/lang/native/sources.py b/src/sentry/lang/native/sources.py index 7f3ef5e1ff8b08..c66bba080e76c4 100644 --- a/src/sentry/lang/native/sources.py +++ b/src/sentry/lang/native/sources.py @@ -616,7 +616,7 @@ def get_gcp_token(client_email): # Fetch the regular credentials for GCP source_credentials, _ = google.auth.default() - if source_credentials.token is None: + if source_credentials is None: return None # Impersonate the service account to give the token for symbolicator a proper scope