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.
[Deleted User] <[Deleted User]> #4
Thanks for the updated documentation. I've given it a go and resumable uploads now seem to be working fine. Thanks.
Description
When creating a new media item and passing in a description with special characters, there seem to be cases where the special characters are converted to HTML entities. For example when passing in:
Smelt & a guiness @ Duarte's = happy me
After the media item is created, Google Photos shows:
Smelt & a guiness @ Duarte's = happy me
2) A small code sample that reliably reproduces the issue. The sample should run as-is or with minimal setup.
const axios = require('axios');
const params = {
newMediaItems: [
{
description: "Smelt & a guiness @ Duarte's = happy me",
simpleMediaItem: {
uploadToken: <TOKEN>
}
}
]
};
headers: {
'Content-type': 'application/json',
Authorization: `Bearer ${token}`
}
}).then((res) => {
// Do something with the response
});
3) The calls to the API that lead to the error. Include the sequence of calls, including request headers and body.
Do not include any personal information, authentication secrets, media item or album IDs.
Not needed for this issue
What steps will reproduce the problem?
1. Add any media item with the description: Smelt & a guiness @ Duarte's = happy me
2. The description will display as follows in Google Photos: Smelt & a guiness @ Duarte's = happy me
4) What is the expected output? What do you see instead? If you see error messages, please provide them.
For this example, I expected the output to be:
Smelt & a guiness @ Duarte's = happy me
and instead it is:
Smelt & a guiness @ Duarte's = happy me
5) Please provide any additional information below.
Please let me know if there's anything else that I can provide that'd be helpful.