Error: User Does Not Have Permission to Access Policy Tag
Issue
The connector fails with the following error:
BigQueryError{reason=accessDenied, location=null, message=Access Denied: BigQuery BigQuery: User does not have permission to access policy tag <policy tag> on column <column>.}
Environment
- All connectors
- Destination: BigQuery
Resolution
To resolve this issue, ensure the authorizing user has the necessary permission to access the policy tag referenced in the error message by granting one of the following Google Cloud Data Catalog roles:
- Policy Tag Admin (
roles/datacatalog.categoryAdmin
) - Fine-Grained Reader (
roles/datacatalog.categoryFineGrainedReader
) - Data Catalog Viewer (
roles/datacatalog.viewer
)
See Google Cloud's Data Catalog roles documentation for more information.
Cause
This issue occurs when the authorizing user doesn't have the necessary permission to access the applicable policy tag in BigQuery.