gspread authentication throwing insufficient permission

Try to change your scope variable to the following:

scope = ['https://spreadsheets.google.com/feeds',
         'https://www.googleapis.com/auth/drive']

Make sure Drive API is enabled in API console.

gspread has been upgraded and it’s now based on API v4. It’s faster but it requires updates in scope.

Here’s the same issue: https://github.com/burnash/gspread/issues/512

Leave a Comment