I just recently started back working on a project in GCP using Dataform and my free trial had expired. I upgraded to a full account, but now for some reason I cannot execute in Dataform. When I run the queries to test them, they work. But if I want to make changes and execute it to see those changes in BigQuery I get this error. Has anyone come across this? I really have nothing to go on other than this.
Thanks
Hi aaron_harkins,
It looks like you are encountering an issue where Dataform can’t execute queries or update BigQuery after upgrading your account, even though the queries run fine directly in BigQuery.
Here are the potential ways that might help with your use case:
- Verify Service Account Permissions: To access and manage BigQuery resources with Dataform, make sure your service account has the required IAM roles: bigquery.dataEditor, bigquery.jobUser, and either dataform.admin or dataform.editor.
- User permissions: Make sure your personal Google Cloud user account has the necessary permissions to perform project-level operations.
- Billing Account Linking: After upgrading, double-check that your GCP project is connected to a valid billing account, as delays or re-verification issues can occasionally occur.
- API Billing Enablement: Verify that billing is enabled for the Google Cloud APIs your Dataform workflows rely on, especially the Dataform API and BigQuery API, to ensure you can run your operations without interruption.
- Project ID and Region: Make sure your Dataform repository is set up with the correct GCP Project ID, and that its region aligns with the region of your BigQuery datasets to avoid compatibility issues.
For more information, you can check the following documentation below:
@MarvinLlamas thanks for getting back to me…I tried everything you suggested but can’t seem to get it to work. Anything you else you might suggest? Curious if I should just blow it up and create a new repo. It might be easier than trying to debug…not sure