<tfoot id='1BTcu'></tfoot>

        <bdo id='1BTcu'></bdo><ul id='1BTcu'></ul>
    1. <legend id='1BTcu'><style id='1BTcu'><dir id='1BTcu'><q id='1BTcu'></q></dir></style></legend>

      <small id='1BTcu'></small><noframes id='1BTcu'>

      <i id='1BTcu'><tr id='1BTcu'><dt id='1BTcu'><q id='1BTcu'><span id='1BTcu'><b id='1BTcu'><form id='1BTcu'><ins id='1BTcu'></ins><ul id='1BTcu'></ul><sub id='1BTcu'></sub></form><legend id='1BTcu'></legend><bdo id='1BTcu'><pre id='1BTcu'><center id='1BTcu'></center></pre></bdo></b><th id='1BTcu'></th></span></q></dt></tr></i><div id='1BTcu'><tfoot id='1BTcu'></tfoot><dl id='1BTcu'><fieldset id='1BTcu'></fieldset></dl></div>

      1. Google Glass 开发错误:(403) 未配置访问权限.请使用 Google Developers Consol

        时间:2023-07-14
          <tbody id='NX5Fd'></tbody>

          1. <tfoot id='NX5Fd'></tfoot>
                <bdo id='NX5Fd'></bdo><ul id='NX5Fd'></ul>
                • <small id='NX5Fd'></small><noframes id='NX5Fd'>

                  <legend id='NX5Fd'><style id='NX5Fd'><dir id='NX5Fd'><q id='NX5Fd'></q></dir></style></legend>
                  <i id='NX5Fd'><tr id='NX5Fd'><dt id='NX5Fd'><q id='NX5Fd'><span id='NX5Fd'><b id='NX5Fd'><form id='NX5Fd'><ins id='NX5Fd'></ins><ul id='NX5Fd'></ul><sub id='NX5Fd'></sub></form><legend id='NX5Fd'></legend><bdo id='NX5Fd'><pre id='NX5Fd'><center id='NX5Fd'></center></pre></bdo></b><th id='NX5Fd'></th></span></q></dt></tr></i><div id='NX5Fd'><tfoot id='NX5Fd'></tfoot><dl id='NX5Fd'><fieldset id='NX5Fd'></fieldset></dl></div>
                  本文介绍了Google Glass 开发错误:(403) 未配置访问权限.请使用 Google Developers Console 为您的项目激活 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用的是 PHP 版本的 Google Glass Developer Kit.按照示例代码说明设置所有内容.API/凭据都很好,设置了帐户计费,已将镜像 API 添加到项目中,但在我许可该应用程序后,出现以下错误:

                  I am using the PHP version of the Google Glass Developer Kit. Setup everything per the sample code instructions. API/credentials are all fine, account billing is setup, have added the Mirror API to the project, but after I permission the application, I get the following Error:

                  An error ocurred: Error calling POST 
                  https://www.googleapis.com/mirror/v1/timeline?key=xxxxxx 
                  (403) Access Not Configured. 
                  Please use Google Developers Console to activate the API for your project.
                  

                  我添加了 Mirror API 并启用了 Billing 并进行了设置,所以不知道为什么我会收到错误消息.通过 Glass Explorer 测试应用效果很好.

                  I have added the Mirror API and have Billing active and setup so have no idea why i am getting the error message. Testing the app via the Glass Explorer works just fine.

                  推荐答案

                  众所周知,当您同时提供 OAuth2 凭据和 API 密钥时,Google API 会出现错误行为.此外,由于您必须使用 OAuth2 来访问镜像 API,因此无论如何都不需要 key=xxxxx.

                  Google APIs have been known to misbehave when you provide both OAuth2 credentials and an API Key. Also since you have to use OAuth2 to access the Mirror API, the key=xxxxx isn't necessary anyway.

                  如果您使用的是适用于 PHP 的 Google API 客户端库,则只需从代码中删除以下行:

                  If you are using the Google APIs Client Library for PHP you can simply remove the following line from your code:

                   $client->setDeveloperKey($key);
                  

                  不完全确定这是否会导致您的问题,但我在其他 Google API 中遇到过类似问题.

                  Not entirely sure if this causes your issue, but I have come across similar issues in other Google APIs.

                  这篇关于Google Glass 开发错误:(403) 未配置访问权限.请使用 Google Developers Console 为您的项目激活 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:用 PHP 创建简单的 Google 日历事件 下一篇:使用服务帐户访问 Google 日历事件:{ "error";:“访问被拒绝"}.没有谷歌

                  相关文章

                • <i id='ZUMDi'><tr id='ZUMDi'><dt id='ZUMDi'><q id='ZUMDi'><span id='ZUMDi'><b id='ZUMDi'><form id='ZUMDi'><ins id='ZUMDi'></ins><ul id='ZUMDi'></ul><sub id='ZUMDi'></sub></form><legend id='ZUMDi'></legend><bdo id='ZUMDi'><pre id='ZUMDi'><center id='ZUMDi'></center></pre></bdo></b><th id='ZUMDi'></th></span></q></dt></tr></i><div id='ZUMDi'><tfoot id='ZUMDi'></tfoot><dl id='ZUMDi'><fieldset id='ZUMDi'></fieldset></dl></div>

                    <small id='ZUMDi'></small><noframes id='ZUMDi'>

                    • <bdo id='ZUMDi'></bdo><ul id='ZUMDi'></ul>
                  1. <tfoot id='ZUMDi'></tfoot>
                    1. <legend id='ZUMDi'><style id='ZUMDi'><dir id='ZUMDi'><q id='ZUMDi'></q></dir></style></legend>