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