I apologize for having reported incorrect information below. The problems below seem to be showing up for old sites, not new ones. New sites, on the other hand, seem not be showing up at all in the list of sites retrieved from Google using the following feed: - https://sites.google.com/feeds/site/<google-apps-domain/
Thanks, -Patricia -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Patricia N Goldweic Sent: Thursday, August 02, 2012 11:00 AM To: [email protected] Subject: [google-apps-apis] problem with 2-legged OAuth and sites feed I apologize if this is not the right forum to post this, but I'm positive that the old Google Sites mailing list is not frequented by any Google employees :-(. My production app uses the Gdata java client api (probably version 1.46) , with 2-legged OAuth to retrieve sites, document and calendar feeds. Today we are seeing a continuing problem retrieving the sites acl feed *for new sites* as follows: com.google.gdata.util.ServiceForbiddenException: Forbidden Not authorized to access this feed at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:597) at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563) at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552) at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530) at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535) at com.google.gdata.client.Service.getFeed(Service.java:1135) at com.google.gdata.client.Service.getFeed(Service.java:998) at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631) at com.google.gdata.client.Service.getFeed(Service.java:1017) The feed's url is as follows: https://sites.google.com/feeds/acl/site/u.northwestern.edu/<site-name>?xoauth_requestor_id=<googleid>@u.northwestern.edu In addition, we also seem to be getting another similar new error in some cases, when again, retrieving a site's acl feed: com.google.gdata.util.ParseException: [Line 1, Column 6271, element entry] Required extension element http://schemas.google.com/acl/2007:role not found. at com.google.gdata.util.XmlParser.throwParseException(XmlParser.java:730) at com.google.gdata.util.XmlParser.parse(XmlParser.java:693) at com.google.gdata.util.XmlParser.parse(XmlParser.java:576) at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867) at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:68) at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:39) at com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:100) at com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:52) at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:66) at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:34) at com.google.gdata.client.Service.parseResponseData(Service.java:2165) at com.google.gdata.client.Service.parseResponseData(Service.java:2098) at com.google.gdata.client.Service.getFeed(Service.java:1136) at com.google.gdata.client.Service.getFeed(Service.java:998) at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631) at com.google.gdata.client.Service.getFeed(Service.java:1017) at edu.northwestern.at.bboogle.gint.data.gservices.GintServiceObject.getAclFeed(GintServiceObject.j Do you know if there's an ongoing issue with sites and/or 2-legged Oauth for them? Thanks in advance, -Patricia Patricia Goldweic [email protected] -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management 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://groups.google.com/group/google-apps-mgmt-apis?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management 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://groups.google.com/group/google-apps-mgmt-apis?hl=en.
