Hi Steve,

I was able to reproduce the problem when using TIFF files, the same
image worked fine when transform to JPG. I'll escalate the issue.

Did you have the problem with any other image formats? Were you able
to upload any TIFF images?

Charlie, Did you have the same problem using TIFF files?

Cheers,
Julian.

On Jan 19, 1:10 pm, Charlie Wood <[email protected]> wrote:
> FWIW we're seeing quite a few 500 errors when trying to create/update
> contact photos too.
>
> Thanks,
> Charlie
>
> On Jan 19, 2:49 am, SteveC <[email protected]> wrote:
>
> > Folks;
>
> > I am seeing some strange 'GDataServiceDomain error 500' when uploading
> > photos.
>
> > I see an earlier thread with similar issue in which Google suggests
> > that a fix was coming.
> > This was in Nov 08 - has that fix been propogated?
>
> > I can upload photos sometimes but not always!
> > It most often occurs when reading a file and then passing the contents
> > of the file.
> > I am using the ObjC SDK if that is material to this issue.
>
> > NSData *uploadData = [NSData dataWithContentsOfFile:path];
> > if (!uploadData) {
> >         NSLog(@"cannot read file %@", path);} else {
>
> >         thisImage =[[[NSImage alloc] initWithData:uploadData] autorelease];
> >         newEntry = [GDataEntryContact contactEntryWithTitle:@"UploadingPhoto
> > ContactEntryTitle"];               [newEntry setUploadData:[thisImage
> > TIFFRepresentation]];
> >                         [newEntry setUploadMIMEType:@"image/tiff"];
> >                         [newEntry setUploadSlug:@"ContactImageFileSlug"];
> >                         ticket = [[self contactService]
> > fetchContactEntryByUpdatingEntry:newEntry forEntryURL:theURL
> > delegate:self                                                               
> >             didFinishSelector:@selector
> > (loadContactImageFilesTicket:finishedWithEntry:)
> > didFailSelector:@selector
> > (loadContactImageFilesTicket:failedWithError:)];
>
> > }
>
> > The files are valid tiff files.
> > Any thoughts appreciated!
> > Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to