Comments (8)
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.
from gdata-objectivec-client.
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)
<TITLE>Token invalid - AuthSub token has wrong scope</TITLE>Token invalid - AuthSub token has wrong scope
Error 401
from gdata-objectivec-client.
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
from gdata-objectivec-client.
@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?
from gdata-objectivec-client.
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.
from gdata-objectivec-client.
@thomasvl Is your update done today?
from gdata-objectivec-client.
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.
from gdata-objectivec-client.
Ok thanks! Keep me in touch
from gdata-objectivec-client.
Related Issues (20)
- GDataXMLNode.m repeat in compile sources HOT 1
- Memory Uses Keep Increasing
- GData does not validate server certificate HOT 1
- Question about which Google API to use
- Lib & samples not compile since last cleanup
- Compatibility with iOS9 HOT 10
- Is this api deprecated for spreadsheet service ? HOT 5
- Gdata and GTLDrive API's don't work well together in IOS HOT 3
- PBXCp Errors -- GTMHTTP files are missing
- PBXcp Error
- ไปป์ วัดสิงห์ HOT 1
- Xcode 7.3b4, non-arc, cannot create __weak reference HOT 8
- Using GData with GTMSessionFetcher failed HOT 1
- Photos upload does not work anymore HOT 4
- How could i integrate GTMAppAuth into SDK? HOT 2
- GDataEntryContact returned without birthday
- Photos can't create album HOT 1
- GTMGatherInputStream.h: No such file or directory HOT 2
- [!] Error installing GData Cocoapods HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdata-objectivec-client.