diff --git a/dbt/adapters/bigquery.py b/dbt/adapters/bigquery.py index e6f45402873..41416bebf09 100644 --- a/dbt/adapters/bigquery.py +++ b/dbt/adapters/bigquery.py @@ -99,7 +99,7 @@ def get_bigquery_credentials(cls, config): elif method == 'service-account-json': details = config.get('keyfile_json') - return creds.from_service_account_info(details) + return creds.from_service_account_info(details, scopes=cls.SCOPE) error = ('Invalid `method` in profile: "{}"'.format(method)) raise dbt.exceptions.FailedToConnectException(error)