Closed iOsMechanic closed 4 years ago
Without more info, there really isn't any way to say what is wrong. What are you trying to do? Which client? etc. The fetchers have built in support for logging, posting a failed request can help show what you are doing.
2016-11-21 08:11:00 +0000 elapsed: 1.281sec Request: GET https://spreadsheets.google.com/feeds/spreadsheets/private/full Request headers: Accept: application/atom+xml, text/xml Cache-Control: no-cache Content-Type: application/atom+xml; charset=utf-8 GData-Version: 3.0 User-Agent: com.example.SpreadsheetSample/1.0 GData-ObjectiveC/1.12 MacOSX/10.10.5 (gzip)
Response: status 401 Response headers: Alt-Svc: quic=":443"; ma=2592000; v="36,35,34" Cache-Control: private, max-age=0 Content-Encoding: gzip Content-Type: text/html; charset=UTF-8 Date: Mon, 21 Nov 2016 08:11:00 GMT Expires: Mon, 21 Nov 2016 08:11:00 GMT P3P: CP="This is not a P3P policy! See https://support.google.com/accounts/answer/151657?hl=en for more info.", CP="This is not a P3P policy! See https://support.google.com/accounts/answer/151657?hl=en for more info." Server: GSE Set-Cookie: NID=91=MiLHHwq7x8AwsOUW269ZjHSZpH8OHZh7WqW0nuR5iMpzc4UpRdFjlIX9Ht7RSZeFD3VAgO4FvivRP5Jq7uoQC2pItNDhSt9BgB-Uo4jECm6HQa34rxO1OWt-qqDxjtbT;Domain=.google.com;Path=/;Expires=Tue, 23-May-2017 08:11:00 GMT;HttpOnly, NID=91=seRUBEPajTHOqNYJUb5MzHshshQ1UF_8plYVuPubzKX6sfkUO7T6XFEsCOnnCcsUf3AwmkOaKMrmJa6AQs6Arsilz6IMYym4KXDNhfPSF-q2Q9sFGLkRjJV0dBRSeDPP;Domain=.google.com;Path=/;Expires=Tue, 23-May-2017 08:11:00 GMT;HttpOnly Transfer-Encoding: Identity Www-Authenticate: AuthSub realm="https://www.google.com/accounts//AuthSubRequest" X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block x-chromium-appcache-fallback-override: disallow-fallback
Response body: (213 bytes)
Client Login is no logger supported on Google properties, you need to do OAuth 2 flows. https://github.com/google/gdata-objectivec-client/wiki#authentication-and-authorization
@thomasvl Could u post some gist/example on how to add Contacts coz the support for webviews are gone from server side and all sample code are obselete. So could you share some example for google signin sdk?
Timing wise things just changed, making this a little more complete. You'll want to look at using https://github.com/google/GTMAppAuth. It can create an authorizer that can be used with this library. We're working through updating the samples in all the projects that used to use gtm-oauth2, but it isn't done yet.
@thomasvl Is your update done today?
Looks like the teams have done some a few updates, but not all, and it doesn't like some that were done were pushed out. I'll bug some folks.
Ok thanks! Keep me in touch
Error Domain=com.google.GDataServiceDomain Code=404 "The operation couldn’t be completed. (com.google.GDataServiceDomain error 404.)"