BigQuery showing "Invalid Credential", even though the service account is an editor

10/31/2019

I am trying to access BigQuery from GKE (Google Kubernetes Engine). But even after repeated trial and error, it's showing Invalid Credential.

I checked the access logs. The user is xxx-compute@developer.gserviceaccount.com, which is enlisted as an editor of the BigQuery dataset I am trying to access.

But this same query succeeds with the project owner's credentials. I tried elevating the service account as an owner, but that didn't change the outcome either.

The screenshots are as follows:

Role Descriptions

Query Error

Query Success

-- rafee
google-iam
google-kubernetes-engine

0 Answers