Nikko
Nikko

Reputation: 1572

Spreadsheet not found using service_account_file

Hi I plan to deploy an app that would log to spreadsheets. I used the PyGSheets.

I get a raise.

raise SpreadsheetNotFound('Could not find a spreadsheet with title %s.' % title)
pygsheets.exceptions.SpreadsheetNotFound: Could not find a spreadsheet with title RSSI Spreadsheet.

after I used to authorize using service_account_file

gc = pygsheets.authorize(service_account_file='something.json')

But it works with

gc = pygsheets.authorize(client_secret='client_secret_something.json')

I would want to use the service_account_file so that it would pass authorization process.

Upvotes: 5

Views: 3509

Answers (0)

Related Questions