间歇性谷歌地图api授权错误 [英] Intermittent Google maps api Authorization Error

查看:156
本文介绍了间歇性谷歌地图api授权错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我们在浏览器上看到了google maps api的间歇性错误。

Today we witnessed intermittent errors with google maps api on the browser.


Google禁止在此应用中使用Google地图。所提供的
密钥不是有效的Google API密钥,或者未获得
Google Maps API密钥的授权,或者未授权此网站上的Google地图
Javascript API V3 。

Google has disabled use of the Maps for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps API Key, or it is not authorized for the Google Maps Javascript API V3 on this site.

在开发者控制台中,启用了所有地图apis。

On the developer console, all the map apis are enabled.


  • 此外,Google Maps JavaScript API v3的使用率在每天25k的免费请求下也是如此。
  • 它显示所有请求的100%成功率
  • li>
  • 图表上每秒的平均请求数最高为0.025。

  • Also the "Google Maps JavaScript API v3" usage is well under the free 25k requests/day.
  • It's showing 100% success rate of all requests
  • Requests per second average on the graph is 0.025 maximum.

我不确定引起了什么变化谷歌地图API会抛出这个错误。

I am not sure what changed causing google maps api to throw this error.

我们使用v3 api显示地图:

We are using v3 api showing maps:

script.src = 'https://maps.google.com/maps/api/js?v=3&key='+mapKey+'&language=en-IN&sensor=true&libraries=places&callback=loadInfoBox';

有没有办法知道错误的实际原因是什么?

Is there a way to know what is the actual cause of the error?

推荐答案

根据官方问题追踪器,现在应该解决这个问题。

According to the official issue tracker, this issue should be resolved now.

这篇关于间歇性谷歌地图api授权错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆