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