Google Drive API Client (Python): Insufficient Permission for files().insert()

后端 未结 3 764
無奈伤痛
無奈伤痛 2020-12-10 03:57

I am trying to get a simple Python Google Drive uploader working. I\'ve created a project in the developer console, enabled the Drive API and added an OAuth 2.0 client ID (a

3条回答
  •  粉色の甜心
    2020-12-10 04:05

    Files: insert requires authorization with at least one of the following scopes

    https://www.googleapis.com/auth/drive
    https://www.googleapis.com/auth/drive.file
    https://www.googleapis.com/auth/drive.appdata
    https://www.googleapis.com/auth/drive.apps.readonly

    Check which scope you are authenticating with.

提交回复
热议问题