Hello,
We are having an issue when we try get a list of contact from the google api.
(GData v2.1)
We basically just want to get the first contact in the list.
Here is the code we are using:
Dim contactsUri As New
Uri("https://www.google.com/m8/feeds/contacts/default/full?xoauth_requestor_id="
& UserEmail & "&max-results=1")
Dim query As New ContactsQuery()
query.Uri = contactsUri
Dim service As New ContactsService("Test")
service.RequestFactory = requestFactory
Dim feed As ContactsFeed = service.Query(query)
It throws this exception:
Google.GData.Client.ClientFeedException: {"Parsing failed"}
InnerException: {"'atom' is an undeclared prefix. Line 5, position 345."}
StackTrace:
at Google.GData.Client.AtomFeedParser.Parse(Stream streamInput, AtomFeed feed)
at Google.GData.Client.AtomFeed.Parse(Stream stream, AlternativeFormat format)
at Google.GData.Client.Service.CreateAndParseFeed(Stream inputStream, Uri uriToUse)
at Google.GData.Client.Service.Query(FeedQuery feedQuery)
at Google.GData.Contacts.ContactsService.Query(ContactsQuery feedQuery)
It seems like there is a problem with the Xml parser. Is there a solution for
this issue?
Thanks.
Original issue reported on code.google.com by raym...@insight.ly on 6 Mar 2013 at 7:39
Original issue reported on code.google.com by
raym...@insight.ly
on 6 Mar 2013 at 7:39