gpt4 book ai didi

google-maps - NotLoadingAPIFromGoogleMapsError 即使加载正确的 URL

转载 作者:行者123 更新时间:2023-12-01 23:20:37 24 4
gpt4 key购买 nike

我收到了 NotLoadingAPIFromGoogleMapsError即使使用了正确的 URL,某些用户也会出错:
(哈巴狗语法):

script(type='text/javascript' src='https://maps.googleapis.com/maps/api/js?key=MY_KEY&libraries=places')

它似乎是由脚本生成的身份验证 API 调用引起的。
还有其他人有这个问题吗?你是怎么解决的?

最佳答案

希望其他人会发现这很有用 -
我收到了谷歌的答复如下:

The API session token expires if someone leaves a map open for more than about 24 hours, so it's normal to see a low level of these errors. (This is the intended behavior)



任何地方都没有关于此的文档 - 所以希望这个答案将有助于节省人们的研究时间。

可能有一种方法可以捕获错误并在发生错误时重新授权。如果有可能,我会在这里更新。

关于google-maps - NotLoadingAPIFromGoogleMapsError 即使加载正确的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54205790/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com