entity.getId() is still an http://uri. But I am glad the ids did not change to https://uri, otherwise it would have been a lot more work for us to handle what is already saved in our db. In general, I don¹t understand why this API returns the IDs as the full urls and not as the last part of it, i.e. Œasfgsfdgfwghfsafhwg¹, like other APIs do (tasks or calendar).
On 4/30/12 1:15 AM, "Daniel Florey" <[email protected]> wrote: > Yes, we also changed our apps - but any notice in advance would have been > great. > And: The edit links in the contacts still contain the http:// link which will > fail. So we have to replace them manually... very annoying. > > > On Monday, April 30, 2012 5:30:08 AM UTC+2, Alexey Panteleev wrote: >> We changed our service calls to https://feeds and it is working ok now ... >> Even though those old tokens were authorized to access http:// >> I guess that is how Google is transitioning to OAuth2 where you can only >> access https:// feeds >> >> >> On 4/27/12 2:21 AM, "Daniel Florey" <[email protected] >> <http://[email protected]> > wrote: >> >>> Hi, >>> we are facing the same issue. >>> Our applications that worked fine for years are getting this exception since >>> a few days. We are using the http:// scope which worked fine but gives the >>> NullPointerException since a few days. >>> Please revert this change! >>> >>> On Tuesday, April 24, 2012 5:12:46 PM UTC+2, Alexey Panteleev wrote: >>>> Figured out something new today. Even though we request an accessToken for >>>> the http://... scope we get a token for https://... scope. >>>> So we can access this user¹s https://feeds . But why is this the case? For >>>> other users we request http://... scope and we get a token for it just >>>> fine. >>>> >>>> >>>> On 4/24/12 1:13 AM, "Alexey Panteleev" <[email protected] >>>> <http://[email protected]> <http://[email protected]> > wrote: >>>> >>>>> Hello, I know this topic has been discussed a few times in the forum but >>>>> I am not finding my answer still. >>>>> >>>>> We sync contacts for a few dozens of google users and only for one we've >>>>> started getting the following Exception recently, which I believe means an >>>>> invalid token. >>>>> I don't understand why it does not work for only this one user whereas our >>>>> set up is quite identical for all our users. >>>>> >>>>> We use gdata-contacts-3.0 and I even tried 1.47.0 bundle of libs today, >>>>> same thing. >>>>> >>>>> We still use OAuth1 access tokens with http://www.google.com/m8/feeds/ >>>>> scope. The user re-generated those a few times now. >>>>> The exception happens when trying to access >>>>> http://www.google.com/m8/feeds/groups/default/full >>>>> >>>>> I know v3 suggests to use https://... scope but for all our other users >>>>> http://... based access still works just find. Just one is failing. >>>>> Can you please help identify the cause? Could there be some setting in the >>>>> user profile causing this? Thank you >>>>> >>>>> java.lang.NullPointerException: No authentication header information >>>>> at >>>>> com.google.gdata.util.AuthenticationException.initFromAuthHeader(Authentic >>>>> ationException.java:96) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at >>>>> com.google.gdata.util.AuthenticationException.<init>(AuthenticationExcepti >>>>> on.java:67) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at >>>>> com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDat >>>>> aRequest.java:600) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at >>>>> com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(Google >>>>> GDataRequest.java:563) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at >>>>> com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataReque >>>>> st.java:552) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at >>>>> com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.jav >>>>> a:530) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at >>>>> com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest >>>>> .java:535) ~[gdata-core-1.0-1.41.5.jar:na] >>>>> at com.google.gdata.client.Service.getFeed(Service.java:1135) >>>>> ~[gdata-core-1.0-1.41.5.jar:1.41.5] >>>>> at com.google.gdata.client.Service.getFeed(Service.java:1077) >>>>> ~[gdata-core-1.0-1.41.5.jar:1.41.5] >>>>> at >>>>> com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662) >>>>> ~[gdata-core-1.0-1.41.5.jar:1.41.5] >>>>> at com.google.gdata.client.Service.query(Service.java:1237) >>>>> ~[gdata-core-1.0-1.41.5.jar:1.41.5] >>>>> at com.google.gdata.client.Service.query(Service.java:1178) >>>>> ~[gdata-core-1.0-1.41.5.jar:1.41.5] -- 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
