Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging remote_functions: get_bytes_transferred error #38

Open
swainjo opened this issue Jun 27, 2023 · 0 comments
Open

Tagging remote_functions: get_bytes_transferred error #38

swainjo opened this issue Jun 27, 2023 · 0 comments
Assignees

Comments

@swainjo
Copy link
Collaborator

swainjo commented Jun 27, 2023

error when calling get_bytes_transferred remote function created by:
bytes_transferred/create_remote_function.sh

Test SQL to repro in BQ:
SELECT 'cdmc-gov-388611.remote_functions.get_bytes_transferred'('bytes', 'cdmc-confdata-388611', 'crm', 'AddAcct');

Error
Received response code 400 from endpoint https://us-central1-cdmc-gov-388611.cloudfunctions.net/get_bytes_transferred with response {"errorMessage": "403 GET https://bigquery.googleapis.com/bigquery/v2/projects/cdmc-confdata-388611/datasets/crm?prettyPrint=false: Access Denied: Dataset cdmc-confdata-388611:crm: Permission bigquery.datasets.get denied on dataset cdmc-confdata-388611:crm (or it may not exist)."}.

Diagnosis:
Unsure what permissions are required, I am running the query under admin context in console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants