gpt4 book ai didi

api - REQUEST_DENIED Google Maps API v3 地点错误

转载 作者:行者123 更新时间:2023-12-02 22:43:38 26 4
gpt4 key购买 nike

我尝试在 Google Maps API v3 中使用 Google Places,但出现以下错误:REQUEST_DENIED。我的 URI 是:https://maps.googleapis.com/maps/api/place/search/xml?location=47.1738409069289,27.574825862967&radius=1000&name=atm&sensor=false&key=AIzaSyA5aYxMm7RoYGwoha1oDHVRXbPxF0Ep0vk

阅读此文后:REQUEST_DENIED when using the Google Places API还有这个:Google Places API - REQUEST_DENIED ,我得到了另一把 key ,将传感器设置为 false 和 true,但我仍然遇到同样的错误。

这个问题有解决办法吗?谢谢您的回答!

最佳答案

看来您还没有在您的 API 控制台中激活 Places API 服务 https://code.google.com/apis/console .

请按照此处的说明激活服务: https://developers.google.com/maps/documentation/places/#Authentication

既然您已经在此处发布了新的 API key ,您可能需要考虑生成一个新的 API key ,以避免滥用您帐户下的服务。始终确保您的 API key 安全无虞。

关于api - REQUEST_DENIED Google Maps API v3 地点错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10385990/

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