Access Google Drive API Returns Empty File List

后端 未结 3 1691
没有蜡笔的小新
没有蜡笔的小新 2020-12-20 14:39

I\'m testing out the Google Drive API. The test script does the HTTP GET to access the Files->List API but somehow I always get an empty list in items. I have hundreds of fi

3条回答
  •  猫巷女王i
    2020-12-20 15:30

    To allow service account to access the files in my own Google Drive, I have to give permission to the email address of the service account. Once the permissions are setup correctly, the list gets populated with the files that the service account is allowed to access.

提交回复
热议问题