PyDrive: Invalid client secrets file

前端 未结 5 1548
轻奢々
轻奢々 2021-02-14 15:23

I am trying to use PyDrive to get a list of all files in my Google Drive. I have read through the docs and completed all steps. I have client secrets.json saved down, but I cont

5条回答
  •  悲&欢浪女
    2021-02-14 15:29

    I had the same problem. The reason why you cannot log in is here:

    InvalidConfigError: Invalid client secrets file File not found: "client_secrets.json"

    You need to change your credential file name from:
    client_secret_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com.json

    to:
    client_secrets.json

    Cheers, Daddy

提交回复
热议问题