0

I am getting this error at the Source tab at the Use query (Table, Query) Query, when doing a copy data activity at the Azure Synapse pipeline.

Unable to authenticate with Google BigQuery Storage API:

Unable to authenticate with Google BigQuery Storage API .

The strange thing is I can preview data at the Source dataset, I can also preview data when select the Use query Table option.

can preview table

I can even run query to select the table's schema

can query schema

SELECT
*
FROM
`3082`.INFORMATION_SCHEMA.TABLES
WHERE table_type = 'BASE TABLE'

but I get this authentication error when selecting columns

SELECT
*
FROM
`3082.gcp_billing_export_v1_019F74_6EA5E8_C96548`;
2
  • Refer this MS document and check if all the required permissions are there. Commented Jan 27, 2023 at 6:22
  • @Aswin, thank you for answering this question. I was missing the BigQuery user role. Please post the above comment again as answer so I can mark it. Commented Jan 31, 2023 at 22:03

1 Answer 1

0
Answer recommended by Microsoft Azure Collective

ERROR [HY000] [Microsoft][BigQuery] (131) Unable to authenticate with Google BigQuery Storage API. Check your account permissions

The above error is due to issue in authentication of BigQuery Storage API. The permission required to access data from BigQuery are,

  • bigquery.readsessions.create
  • bigquery.readsessions.getData
  • bigquery.readsessions.update

The role BigQuery User will help in giving above permissions.

Reference:

  1. Google cloud doc on Access Control - BigQuery User.
  2. MS doc on Google BigQuery connector issue
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.