google api - No Authentication Header Found -
we using google contacts api past few years. seems working fine until today..suddenly contacts api started throwing error "no authentication header found" inspite of passing correct token header.
here complete stack trace of error
java.lang.nullpointerexception: no authentication header information| @ com.google.gdata.util.authenticationexception.initfromauthheader(authenticationexception.java:96)| @ com.google.gdata.util.authenticationexception.(authenticationexception.java:67)| @ com.google.gdata.client.http.httpgdatarequest.handleerrorresponse(httpgdatarequest.java:608)| @ com.google.gdata.client.http.googlegdatarequest.handleerrorresponse(googlegdatarequest.java:564)| @ com.google.gdata.client.http.httpgdatarequest.checkresponse(httpgdatarequest.java:560)| @ com.google.gdata.client.http.httpgdatarequest.execute(httpgdatarequest.java:538)| @ com.google.gdata.client.http.googlegdatarequest.execute(googlegdatarequest.java:536)| @ com.google.gdata.client.service.getfeed(service.java:1135)| @ com.google.gdata.client.service.getfeed(service.java:1077)| @ com.google.gdata.client.googleservice.getfeed(googleservice.java:676)| @ com.google.gdata.client.service.query(service.java:1237)| @ com.google.gdata.client.service.query(service.java:1178)|
is facing same issue?? please let know if need change something..
tia,
vijayraj
looks error during authentication causing npe thrown authenticationexception. authenticationexception changed in 9/2011 no longer throw npe if no authentication header information set in exception.
2 approaches:
how old version of gdata client library using? can update more recent pick fix made in 9/2011?
what oauth scope using? if can figure out why authentication starting fail, can make auth succeed avoid npe bug if cannot update gdata client library.
Comments
Post a Comment