"com.google.gdata.util.ParseException: [Line 1, Column 8953, element gContact:nickname] Missing required text content"
API Version 3.0 I get this error when I attempt to list my contacts (ie. the contacts associated with my google email account). Many of my contacts do not have nicknames as they are added automatically when I send or reply. How do I get around this error. If I catch and ignore this exception then I get a null pointer exception. The error appears to be data related as it also occurs when using the provided contacts sample code. Thanks. [code] code to duplicate (require data as previously described): static final String cUrlFmt = "http://www.google.com/m8/feeds/contacts/ %s/full"; String user = "[email protected]" String pw = "secret"; /* create the service */ try { ContactsService svc = new ContactsService("exampleCo-exampleApp-1"); svc.setUserCredentials(user, pw); } catch AuthenticationException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } URL url = new URL(String.format(cUrlFmt, user)); ContactFeed contactFeed = null; /* list the contacts */ try { contactFeed = getContactsService().getFeed(url, ContactFeed.class); } catch (IOException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } catch (ServiceException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } [/code] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
