Hi, We had a similar thread in the past: http://groups.google.com/group/google-contacts-api/browse_thread/thread/3f8327ee05471fec/ea982cabe67fc520
Are you trying to update/add Organization Name or Job Title? It is necessary to include the label for those fields. Maybe there is a data problem for some of the users, they are missing information and this could be the problem. Can you tell me specific steps to reproduce the problem? Did you use a third party tool to sync contacts? I'll like to find if there is a bug on the API. Also, I think it would be a good idea to try Contacts API V2, there is a Java Client available: http://code.google.com/apis/contacts/docs/2.0/developers_guide_java.html Cheers, Julian. On Jan 1, 1:38 pm, Dummy <[email protected]> wrote: > Hi. > I got following error when I get a user's contact list as currentPage > = contactService.getFeed(postUrl, ContactFeed.class); > This does work some users but not for some users. > The error message is like this. I am using contact api 1.0 java > client. > > ### > Warning: [Line 1, Column 4256, element gd:orgName] > com.google.gdata.util.ParseException: Missing required text content > Message: Missing required text content > > at com.google.gdata.data.AttributeHelper.consume(Unknown Source) > at com.google.gdata.data.AttributeHelper.consumeContent(Unknown > Source) > at com.google.gdata.data.ValueConstruct.consumeAttributes(Unknown > Source) > at com.google.gdata.data.AbstractExtension > $AttributesHandler.processEndElement(Unknown Source) > at com.google.gdata.util.XmlParser.endElement(Unknown Source) > at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java: > 626) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) > at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement > (Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) > at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405) > at com.google.gdata.util.XmlParser.parse(Unknown Source) > at com.google.gdata.util.XmlParser.parse(Unknown Source) > at com.google.gdata.data.BaseFeed.parseAtom(Unknown Source) > at com.google.gdata.data.BaseFeed.readFeed(Unknown Source) > at com.google.gdata.client.Service.getFeed(Unknown Source) > at com.google.gdata.client.Service.getFeed(Unknown Source) > at com.google.gdata.client.GoogleService.getFeed(Unknown Source) > at com.google.gdata.client.Service.getFeed(Unknown Source) > #### > When this happen this user's contact list cannot be touched. > I figure out a contact data causes this. And when I delete or save > from web browser, this won't happen for the user. > But I need to maintain users contact list with batch. > > What causes this? and is there any workaround? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
