Hi,

I am also using the Google Contacts API in my program (JSMS). I have
been getting this exception since I started syncing my iPhone to
Google contacts via Google Sync (this uses Exchange ActiveSync I
believe).

/Finbarr

On Mar 4, 3:35 pm, "Julian (Google)" <[email protected]> wrote:
> Hi,
>
> Please share more information to reproduce the problem, steps, client
> library used and if possible a code example. I have not been able to
> create a contact with the empty space.
>
> Thanks,
> Julian.
>
> On Mar 2, 3:52 am, Dong <[email protected]> wrote:
>
> > I encountered the same problem. And find a way to rerpoduce it:
> > 1. Using the contacts API to create a contact, set the OrgName to "
> > "(space). It would throwexceptionwhen insert, but the contact would
> > be created on Gmail any way.
> > 2. Then when you try query, the same exeption would occur.
>
> > This caused by the "protocal gap" between create and query: when
> > create, it allows e.g. space, but when query it doesn't.
> > There seems nothing we can do for this, but something can be done by
> > google.
>
> > A work around for this is ask the user who face the problem to export
> > then import all the contacts using the tool on gmail contacts page.
> > This (I think) converted the OrgName to null.
>
> > On Jan 1, 9: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:Missingrequiredtextcontent
> > > Message:Missingrequiredtextcontent
>
> > >         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