I'm getting "The remote server returned an error: (400) Bad Request."
when trying to update a document.

- When I update a document I created it works fine
- When I update a document someone else created and shared with me, I
get the error above (I have writer permissions).

This is how the request looks like:

GDataRequestFactory rf = m_service.Service.RequestFactory as
GDataRequestFactory;
rf.CustomHeaders.Add(GDataRequestFactory.IfMatch + ":*");

AtomEntry response = m_service.Service.Update("http://docs.google.com/
feeds/media/private/full/document%3Ad95trgk_3033g25mqvcx", fileStream,
"application/msword", "myFileName");

rf.CustomHeaders.Remove(GDataRequestFactory.IfMatch + ":*");

Any help is much appreciated!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to