【发布时间】:2014-01-01 07:49:19
【问题描述】:
我们正在为我们的客户使用带有 authsub & 2LO 和 OAuth2.0 身份验证的 Google Calendar API v2 和 V3。我们的大多数客户经常收到授权异常。有些从上周开始变得不一致。在分析我们的日志时,printstacktrace 是
com.google.gdata.util.AuthenticationException:未知授权 标头未知的授权标头
未知 授权标头
错误401
at 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:998) 在 com.google.gdata.client.GoogleService.getFeed(GoogleService.java:645) 在 com.google.gdata.client.Service.getFeed(Service.java:1017)
注意:使用 API v2 和 authsub & 2LO 大约 2 年。
任何帮助将不胜感激。
【问题讨论】:
标签: google-api google-calendar-api google-oauth google-authentication authsub