Google Drive SDK / c++ / Rest API resumable upload

2019-07-11 05:34发布

问题:

I have seen discussion in internet about problems (or bugs in Google Drive SDK ) with resumable uploading to google Drive https://developers.google.com/drive/web/manage-uploads#resumable

and the problem with access_token when it expires after one hour ..

Is there a possibility now ( I understood there should be ) to refresh access token for this ongoing upload ?

I did the test implementation for this but it did not work, when I updated the refreshed access token?

but is this now bug in my code or google drive side ?

回答1:

If you abandon the library, and simply call the REST API directly, you can implement your own 401 error handling.

edit; see comments below which suggest that the problem is a bug which cannot be circumvented