I have a test case that uploads a photo by calling
fetchEntryByInsertingEntry. It eventually returns an entry of
GDataEntryPhoto type which, I assume, is the latest version of entry
for uploaded photo. Later on, the test case attempts to delete this
uploaded photo by calling deleteEntry on this entry of GDataEntryPhoto
type. But deleteEntry call returns 412 status code (data mismatches).
Exact errors I am getting are below.
I am not sure what this error means. I would expect that entry object
returned by fetchEntryByInsertingEntry would be the most recent entry
from servers and wouldn't need to be refetched to get the latest
Thanks for your quick reply, Greg! Your suggestion works great.
On Mar 6, 9:45 pm, Greg Robbins <grobb...@google.com> wrote:
> The ETag field of an entry is a hash string indicating the version of the
> resource on the server. It sounds like the server has changed the photo
> resource after it was uploaded.