Hold that thought. It looks like the call *is* working with the new client library, this error is due to the way I'm paging. Sorry, I rushed to try the new code and didn't notice the fact that the error was on line 2958, which was different from the error I was getting earlier. (duh! my bad...)
Let me re-read the paging code you referenced and see what I didn't implement properly the first time I tried this with the old 2.0.14 libraries. Thanks! --Ed On Mon, Aug 8, 2011 at 6:57 PM, Ed Estes <[email protected]> wrote: > Alain, > > New client library, same results: > > Traceback (most recent call last): > File "C:\Program Files > (x86)\Google\google_appengine\google\appengine\ext\webapp\__init__.py", line > 700, in __call__ > handler.get(*groups) > File "C:\Users\Ed\Documents\contacts test\main.py", line 2958, in get > feed = client.GetContacts(uri=next.href) > File "C:\Users\Ed\Documents\contacts test\gdata\contacts\client.py", line > 201, in get_contacts > desired_class=desired_class, **kwargs) > File "C:\Users\Ed\Documents\contacts test\gdata\client.py", line 640, in > get_feed > **kwargs) > File "C:\Users\Ed\Documents\contacts test\gdata\client.py", line 307, in > request > response, Unauthorized) > Unauthorized: Unauthorized - Server responded with: 401, <HTML> > <HEAD> > <TITLE>Token invalid - AuthSub token has wrong scope</TITLE> > </HEAD> > <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> > <H1>Token invalid - AuthSub token has wrong scope</H1> > <H2>Error 401</H2> > </BODY> > </HTML> > > > What's driving me crazy is things work properly without any query data so I > would think that the way I am setting up the call is correct. (query > parameters shouldn't matter, right?) I have the *gdata* and *atom*folders > off the root of my GAE project. > > --Ed > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html > -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
