Closed GoogleCodeExporter closed 8 years ago
Apparently, the problem isn't with the api, but with long resumable uploads. I
tried to upload two small files with the same code, but with 1h between them,
and the api does renew the access token and successfully uploads the second
file.
I'm attaching this new script and copying the output:
ya29.AHES6ZRUssiLfuhqCP9Cu7C7LuhRV2rYzPldU27wiMJZWb8
Uploaded 66.89%
ya29.AHES6ZRUssiLfuhqCP9Cu7C7LuhRV2rYzPldU27wiMJZWb8
Upload 1 Complete!
ya29.AHES6ZRUssiLfuhqCP9Cu7C7LuhRV2rYzPldU27wiMJZWb8
Uploaded 57.62%
ya29.AHES6ZQd3o1ciwXpNFImH3CK0-dJAtQba_oeIO9DDbIq154
Upload 2 Complete!
Original comment by grfro...@gmail.com
on 13 Jan 2013 at 9:40
Attachments:
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.
Original comment by jcgregorio@google.com
on 13 Jan 2013 at 11:00
Original issue reported on code.google.com by
grfro...@gmail.com
on 13 Jan 2013 at 5:51Attachments: