BigQuery permissions error?
See original GitHub issueIssue Summary
Not sure if this is a Redash or GCE issue. I have a service account on my project with BigQuery Admin permissions, and created the data source in Redash. However, when I click “Test Connection”, I get the following:
Connection Test Failed:
{ "error": { "errors": [ { "domain": "global", "reason": "accessDenied", "message": "Access Denied: Project PROJECT_ID: The user SERVICE_ACCOUNT@PROJECT_ID.iam.gserviceaccount.com does not have bigquery.jobs.create permission in project PROJECT_ID." } ], "code": 403, "message": "Access Denied: Project PROJECT_ID: The user SERVICE_ACCOUNT@PROJECT_ID.iam.gserviceaccount.com does not have bigquery.jobs.create permission in project PROJECT_ID." } }
I’ve triple-checked the project ID in the data source settings (side note: why isn’t this pulled from the JSON file by default?) and it’s correct, plus it’s correct in the uncensored error message. I’ve even tried setting the service account to Owner permissions, but it didn’t make a difference. Are these instructions for setting up BigQuery out of date or incomplete?
Technical details:
- Redash Version: 1.0.0.b2815
- Browser/OS: Chrome/Mac
- How did you install Redash: Docker
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Why do I get the permission denied error when creating a ...
bigquery.tables.create role is used for creating new tables. You are getting this error because you do not have this permission enabled in your...
Read more >Error messages | BigQuery - Google Cloud
Error message HTTP code Description
stopped 200 This status code returns when a job is canceled.
timeout 400 The job timed out.
Read more >Dataset <DatasetName>: User does not have bigquery.tables ...
ERROR: "Access Denied: Dataset <DatasetName>: User does not have bigquery.tables.create permission for dataset <DatasetName>" while running ...
Read more >Troubleshoot permission errors accessing datasets and tables
Are you having issues with querying BigQuery tables? Would you like to learn how to troubleshoot and resolve permission errors related to ...
Read more >I'm receiving a "Permission denied while getting Drive ...
Usually this errors indicates that you haven't granted the BigQuery service account access to the specific Google Drive document.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Met this this morning. I solved it by giving the worker: JOB USER permission. This is correct because the error is related to jobs.create. Here’s a detailed permission form: https://cloud.google.com/bigquery/docs/access-control.
Had a same problem here. And I solved this by delete IAM role member associated with
BigQuery Admin
. The member name started withdeleted:
.Then create a service account for BigQuery and create datasource on redash.
Hope this would help someone.