I want to use Google Spread Sheets as data source in Redash, I followed the instructions available on Redash Website to create service account and JSON file, I’m able to make successful connection.
But now, when I’m trying to write query, it gives an error " spread sheet not found, see below screen shot.
For anyone following: the issue was that the document wasn’t shared with the service account email address. You need to use the service account email address, which is shown in the Google Console Dashboard or the JSON file and not the email address of your Google account.
Please write an example of the request to the page.
When I write select * from 1ujcotU-KwofBqdbrKyRq1xXyk46HwgEHpfnbR1qd25g
I get the error Error running query: Spreadsheet (select * from 1ujcotU-KwofBqdbrKyRq1xXyk46HwgEHpfnbR1qd25g) not found. Make sure you used correct id.
Unfortunately that’s not how you using spreadsheet as a datasource.
In your case, you should use 1ujcotU-KwofBqdbrKyRq1xXyk46HwgEHpfnbR1qd25g|0
as query.