Google Drive Python API resumable upload error 401 after 2 hours

后端 未结 2 1579
醉梦人生
醉梦人生 2020-12-07 02:30

First of all, I\'m sorry if this is a too silly question... this is the first time I\'m trying to use any of the technologies involved in this script (Python, the drive api,

2条回答
  •  悲&欢浪女
    2020-12-07 03:13

    I filed an issue on the google-api-python-client project, and according to Joe Gregorio from google, the problem is in the backend:

    "This is an issue with the backend and not with the API or with your code. As you deduced, if the upload goes too long the access_token expires and at that point the resumable upload can't be continued. There is work on progress to fix this issue right now, I will update this bug once the issue is fixed on the server side."

提交回复
热议问题