Hi,

The reason could be that there are characters that are causing a
problem. Please, Could you try to isolate the users that are creating
the problem? Would be great to find some examples to look for a bug.

Thanks,
Julian.



On Jan 27, 10:07 pm, "[email protected]" <[email protected]> wrote:
> Hi,
>
>  I have a similar problem, most of the time get contacts feed works
> but for a specific user it always throws the below parsing exception
> with Warning: [Line 1, Column 4256, element gd:orgName]
> com.google.gdata.util.ParseException: Missing required text content.
> It works if i limit the max results to some which might mean some data
> different or missing for some of the contacts? I imported the whole
> contact list from this user ( around 500 ) into another account and it
> worked. Any idea what/why is throwing the exception...?
>
> On Jan 9, 9:25 am, "Julian (Google)" <[email protected]> wrote:
>
> > Hi,
>
> > We had a similar thread in the 
> > past:http://groups.google.com/group/google-contacts-api/browse_thread/thre...
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to