【问题标题】:Access not configured error message访问未配置错误消息
【发布时间】:2013-05-04 00:11:59
【问题描述】:

我已经设置了 oauth 并且正在正确检索访问令牌。

这是我点击后得到的回应

https://www.google.com/accounts/AuthSubTokenInfo?access_token=<token>

parsed_response="Target=645428735890.apps.googleusercontent.com\nSecure=false\nScope=https://www.googleapis.com/auth/userinfo.profile\nScope2=https://www.googleapis.com/auth/userinfo.email\nScope3=https://www.googleapis.com/auth/glass.timeline\nScope4=https://www.googleapis.com/auth/glass.location\n"

我认为正确地表明我请求了正确的权限。

来电

https://www.googleapis.com/mirror/v1/timeline?access_token=<token>

产量:

"errors"=>[{"domain"=>"usageLimits", "reason"=>"accessNotConfigured", "message"=>"Access Not Configured"}]

很难弄清楚这意味着什么。我没有真正的玻璃硬件。文档看起来好像这个访问令牌允许我向镜像 api 发出任何请求。

是否有我错过的其他设置或权限要求?在应用程序方面?这是否与我的 Google 帐户有关且未设置 Glass?

编辑:

好的,来自授权文档:

Select the Services tab in your API project, and enable the Google Mirror API.

但是,我没有在服务选项卡上看到 Google Mirror API?

【问题讨论】:

标签: google-mirror-api


【解决方案1】:

Mirror API 当前位于developer preview,访问仅限于收到 Glass 设备的 I/O Explorer。您可以在我们的问题跟踪器上订阅此issue,以获取有关 Mirror API 何时公开的更新。

【讨论】:

  • 明白,谢谢。很惊讶我没有在搜索中找到它。将密切关注该线程。
猜你喜欢
  • 2013-09-25
  • 2019-09-16
  • 1970-01-01
  • 1970-01-01
  • 2014-08-21
  • 2014-01-27
  • 2014-01-24
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多