I just ran into the same problem in some code that I wrote - it may not help you right here, because it looks like you are not responsible for the code, but it can help someone else or you can ask the person who writes the code you use to read this :-)
So I had to do a couple of things:
- Enable the Drive API for my Google Cloud Platform project in addition to BigQuery.
- Make sure your BigQuery client is created with both the BigQuery scope and the Drive scope.
- Make sure the Google Sheets you want to access BigQuery will be shared with the account "... @ appspot.gserviceaccount.com", which your Google Cloud Platform identifies itself with.
After that, I was able to successfully query the Google Sheets support tables from BigQuery in my own project.
source share