---
title: "Troubleshooting BigQuery and Google Drive connections in Metabase"
description: "Fix 403 Forbidden errors when BigQuery queries read from a Google Sheet or another file in Google Drive."
url: "https://www.metabase.com/docs/latest/troubleshooting-guide/bigquery-drive"
version: "65"
---

# Troubleshooting BigQuery and Google Drive connections in Metabase

[This page](https://www.metabase.com/docs/latest/databases/connections/bigquery.md) explains how to connect a BigQuery data source, including one that uses a file stored in Google Drive, like a Google Sheet (GSheets).

## 403 Forbidden POST error

If you encounter an error that looks like this:

```
403 Forbidden POST https://www.googleapis.com/bigquery/v2/projects/PROJECT-NAME/queries { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials.", "reason" : "accessDenied" } ], "message" : "Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials.", "status" : "PERMISSION_DENIED" }
```

You may have forgotten to [share your Google Drive source](https://www.metabase.com/docs/latest/databases/connections/bigquery.md#share-your-google-drive-source-with-the-service-account) with the service account email. Once that's been fixed, that error should disappear and you'll be able to view and query your data source.

## Further reading

- [Troubleshooting database connections](https://www.metabase.com/docs/latest/troubleshooting-guide/db-connection.md)
