nolwww
nolwww

Reputation: 1715

Airflow Permission denied while getting Drive credentials

I am trying to run a bigquery query on Airflow with MWAA.

This query uses a table that is based on a Google Sheet. When I run it, I have the following error:

google.api_core.exceptions.Forbidden: 403 Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials.

I already have a working Google cloud connection on Airflow with an admin service account.

Also:

Am I doing something wrong? Any idea what I can do to fix this problem?

Thanks a lot

Upvotes: -1

Views: 1076

Answers (1)

nolwww
nolwww

Reputation: 1715

I fixed my issue by creating a NEW Airflow connection. It's a new google cloud connection, with the exact same values as the default google_cloud_default values. Now it works perfectly.

Hope it can help !

Upvotes: 0

Related Questions