Cannot find credentials file for BigQuery method: service-account
See original GitHub issueSummary: When using BigQuery service-account method [0] the app throws an error because it cannot find the credentials file.
Reproduction steps: Precondition: dbt project with a profile using BigQuery service-account method Run lightdash (via docker)
# Go to your project
cd /path/to/my/dbt/project
export DBT_PROJECT_DIR=${PWD}
export DBT_PROFILES_DIR=${HOME}/.dbt
export LIGHTDASH_PORT=8080
docker run -p "${LIGHTDASH_PORT}:8080" -v "${DBT_PROJECT_DIR}:/usr/app/dbt" -v "${DBT_PROFILES_DIR}:/usr/app/profiles" lightdash/lightdash
[0] https://docs.getdbt.com/reference/warehouse-profiles/bigquery-profile#service-account-file
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Authenticating with a service account key file | BigQuery
Create credentials in your application from the service account file. Then use the credentials to create a service object with the BigQuery client...
Read more >Google BigQuery Service Account Credentials using JSON file ...
Now i am trying to connect Service Account Credentials using JSON file type, but i could not get the proper syntax for creating....
Read more >Using OAuth 2.0 for Server to Server Applications | Authorization
See the Handle client credentials securely section of OAuth 2.0 Policies for more information. Delegating domain-wide authority to the service account. If you ......
Read more >The Missing Guide To Setting Up Google Cloud Service ...
Create a Service Account and IAM policy that allows Openbridge to access BigQuery within your project. The process should take no more than...
Read more >A Complete Guide for Google BigQuery Authentication Tutorial
Service Account based Authentication ... Login to your Google Cloud Console. Open the Burger Menu on the side and Go to IAM ->...
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
Can confirm this worked, thanks!
Note, there’s a
\
missing in the docker command after the first line for the line break. Might want to add that in so it can copy/paste correctly out of the box especially if this is public facing.Closed by #255