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

Bug in extract.py:“google.api_core.exceptions.Forbidden: 403” #5

Open
wanziw opened this issue Feb 27, 2024 · 0 comments
Open

Bug in extract.py:“google.api_core.exceptions.Forbidden: 403” #5

wanziw opened this issue Feb 27, 2024 · 0 comments

Comments

@wanziw
Copy link

wanziw commented Feb 27, 2024

After completing BigQuery authentication (including cloud permissions and local setup), running extract.py for the MIMIC-IV dataset results in a Forbidden error:

google.api_core.exceptions.Forbidden: 403 Access Denied: Table physionet-data:mimic_core.admissions: User does not have permission to query table physionet-data:mimic_core.admissions, or perhaps it does not exist in location US.

This issue is caused by a change in the directory structure of the MIMIC-IV dataset. The current dataset uses mimiciv_icu and mimiciv_hospital, while the repository's data_extraction/sql/elixhauser.sql and queries.py still reference mimic_icu and mimic_core. These references need to be updated to match the current MIMIC-IV structure.

If I manage to successfully make these changes, I will submit a pull request to merge my version.

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

1 participant