【问题标题】:Google maps APIs for Business returning error code 403 reason accessNotConfiguredGoogle Maps APIs for Business 返回错误代码 403 原因 accessNotConfigured
【发布时间】:2014-06-08 12:36:07
【问题描述】:

我正在使用 Google Maps APIs for business 根据蜂窝 ID 和 WiFi 接入点的 MAC 地址获取位置。

该代码在测试服务器上运行良好。现在,当我转移到生产服务器时,我得到了以下响应

{ "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "访问未配置。请使用 Google Developers Console 激活 API你的项目。” } ], "code": 403, "message": "Access Not Configured。请使用 Google Developers Console 为您的项目激活 API。" } }

在控制台中,Beta 服务器 IP 已添加到允许的 IP 中。我也添加了生产服务器 IP。仍然得到以上的回应。

在更改允许的 IP 或进行任何其他更改后,我是否需要生成新密钥?

【问题讨论】:

    标签: google-maps google-maps-api-3 geolocation google-geolocation


    【解决方案1】:

    消息不言自明为您的项目激活 API

    转到控制台,选择所需的项目(当您有多个项目时),转到 APIs & auth ->API's 并激活服务 Google Maps Geolocation API

    【讨论】:

    • Google Maps Geolocation API 处于活动状态,并且在 Beta 服务器上运行良好。
    猜你喜欢
    • 2022-01-21
    • 2015-05-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-14
    • 2014-05-03
    • 2014-01-17
    相关资源
    最近更新 更多