gspread error:gspread.exceptions.SpreadsheetNotFound
Error message:
Traceback (most recent call last):
File "read_google_sheet.py", line 20, in <module>
wks = gc.open_by_key("1jUJOlICOH6VnyuALdU2VAc_Ci_ZVwdW-xc5kr_qkJHY")
File "/usr/lib/python2.7/site-packages/gspread/client.py", line 113, in open_by_key
raise SpreadsheetNotFound
gspread.exceptions.SpreadsheetNotFound
Traceback (most recent call last):
File "read_google_sheet.py", line 20, in <module>
wks = gc.open_by_key("1jUJOlICOH6VnyuALdU2VAc_Ci_ZVwdW-xc5kr_qkJHY")
File "/usr/lib/python2.7/site-packages/gspread/client.py", line 113, in open_by_key
raise SpreadsheetNotFound
gspread.exceptions.SpreadsheetNotFound
Solved:
In the json file, there is a "client_email".
You need to share your file with this email.
Comments
Post a Comment