Fixed
Status Update
Comments
jf...@google.com <jf...@google.com> #2
Thank you for your detailed report!
We'll take a closer look and let you know if we have any updates.
We'll take a closer look and let you know if we have any updates.
jf...@google.com <jf...@google.com> #3
We have just clarified the resumable upload protocol in our documentation here: https://developers.google.com/photos/library/guides/resumable-uploads
Note that this is slightly different from our previous protocol for resumable uploads. Please let us know if you are still having trouble following this new guide. Our apologies, but the general flow should be very similar to the previous definition.
Note that this is slightly different from our previous protocol for resumable uploads. Please let us know if you are still having trouble following this new guide. Our apologies, but the general flow should be very similar to the previous definition.
jo...@gmail.com <jo...@gmail.com> #4
Thanks for the updated documentation. I've given it a go and resumable uploads now seem to be working fine. Thanks.
Description
I've tried following the documentation for how to upload using resumable uploads, and from what I can see this is not working or enabled for the Google Photos API.
Doc says:
"Google Photos Library API supports resumable upload. Resumable upload allows you to split a media file into multiple sections and upload one section at a time. This feature follows the same upload protocol specified in Performing a resumable upload. The upload endpoint is:
I tried to use that end point with ke this:
POST
But in the HTTP 200 response I get back I only get these headers:
x-guploader-uploadid: AEnB2UpZMrRS12345SVVw5B1ZrhD4GgNYo97nVSrb-_qCLUNl-G4-R8pw-cXYdoAyUYaMRpiodAZt-4gNOvs2POoVJ_nqYqbQ
content-type: text/plain
content-length: 510
date: Wed, 22 May 2018 23:54:22 GMT
server: UploadServer
alt-svc: hq=":443"; ma=2592000; quic=51303433; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="43,42,41,39,35"
The doc says I should get a Location header:
"If the session initiation request succeeds, the response includes a 200 OK HTTP status code. In addition, it includes a Location header that specifies the resumable session URI. Use the resumable session URI to upload the file data and query the upload status."
It looks like the Location header is missing.
The response seems to return a valid upload token, which I would not expect if the Location header was returned correctly.