Hi, 

Please any help when i tried to update/insert photo to new/exsits gmail
contact I got  

"Execution of request failed:
https://www.google.com/m8/feeds/contacts/[email protected]/base/1f84329c8
86ea664"

Response string : Malformed Content-Type

Error  I tried to do :

For update I retrieve the contact  first for insert I add the contact first 

 

Uri FormatedUri = new Uri(entry.EditUri.Content);

Ms = stream from byte array image .

I tried to use  

GContactService.Update(FormatedUri, ms, "image/jpg", "ContactPhoto");

And got not correct image format then I tried to use 

  GContactService.Update(FormatedUri, ms, "jpeg", "ContactPhoto");

And got 

" Response string : Malformed Content-Type

"

Or using 

GContactService.Insert (FormatedUri, ms, "image/jpg", "ContactPhoto");

Gave the same 

 

 

 please let me know why 

 

TIA,

 

 

 

Michal Levi | IT Department 
                                                 _______

dQue | Avgad Building Jabotinsky 5| Ramat Gan 54030, Israel
( +972.3.575.0676 | ( (fax) +1.972.576.6222 |  ( (Mobile) +972.54.20.92502
[email protected] | www.dQue.com

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management 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-apps-mgmt-apis?hl=en.

<<image001.jpg>>

Reply via email to