I am new to Google Cloud and BigQuery
I have a cloud instance with 2 projects. One is a Compute Engine project and another is a BigQuery project. I can successfully get an Access Token and also a refresh token from the Compute Engine project. However, when I attempt to access the BigQuery project, the error below occurs:
xxxx@gmail.com does not have bigquery.jobs.create permission in project yyyy
I've created datasets in BigQuery, copied public data into each. I also confirmed the xxxx@gmail.com is the owner for each of the datasets. I am able to successfully query the datasets.
In IAM, the xxxx@gmail.com has the following:
roles/bigquery.user
roles/bigquery.admin
roles/bigquery.owner
roles/bigquery.viewer
I've reviewed the following links but the suggestions have not helped. Any ideas on how to resolve the error?
https://cloud.google.com/bigquery/docs/access-control
Google Big-query api 403-Forbidden Exception
Google API OAuth2, Service Account, "error" : "invalid_grant"
The user does not have bigquery.jobs.create permission in project gdelt-bq
Running queries in BigQuery without being a project User
https://github.com/getredash/redash/issues/1684
The user does not have bigquery.jobs.create permission in project gdelt-bq
Error :service account does not have bigquery.jobs.create permission
Although the error is not on the service account, I also reviewed: Error :service account does not have bigquery.jobs.create permission
The service accounts for both the Compute Engine project and the BigQuery
project have the following:
roles/bigquery.user
roles/bigquery.admin
roles/bigquery.data viewer
roles/bigquery.data editor
Thanks!