REQUEST_DENIED谷歌地图API V3错误的地方 [英] REQUEST_DENIED Google Maps API v3 Places Error

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

问题描述

我想使用在谷歌地图API第3版谷歌的地方,但我得到以下错误:REQUEST_DENIED。我的URI是:<一href=\"https://maps.googleapis.com/maps/api/place/search/xml?location=47.1738409069289,27.574825862967&radius=1000&name=atm&sensor=false&key=AIzaSyA5aYxMm7RoYGwoha1oDHVRXbPxF0Ep0vk\" rel=\"nofollow\">https://maps.googleapis.com/maps/api/place/search/xml?location=47.1738409069289,27.574825862967&radius=1000&name=atm&sensor=false&key=AIzaSyA5aYxMm7RoYGwoha1oDHVRXbPxF0Ep0vk

I am trying to use Google Places in Google Maps API v3, but I get the following error: REQUEST_DENIED. My URI is: https://maps.googleapis.com/maps/api/place/search/xml?location=47.1738409069289,27.574825862967&radius=1000&name=atm&sensor=false&key=AIzaSyA5aYxMm7RoYGwoha1oDHVRXbPxF0Ep0vk

看完这个:<一href=\"http://stackoverflow.com/questions/8427980/request-denied-when-using-the-google-places-api\">REQUEST_DENIED使用谷歌Places API的并在此:谷歌Places API的 - REQUEST_DENIED ,我得到了另一个关键,传感器设置为false,真的,我仍然得到同样的错误。

After reading this: REQUEST_DENIED when using the Google Places API and this: Google PLACES api - REQUEST_DENIED , I got another key, set the sensor to false and true and I still get the same error.

有没有一个解决这个问题?谢谢您的回答!

Is there a solution to this problem? Thank you for your answer!

推荐答案

您似乎没有的 HTTPS://$c$c.google.com/apis/console

请按照指示在这里激活服务:
https://developers.google.com/maps/documentation/places/#Authentication

Please follow the directions here to activate the service: https://developers.google.com/maps/documentation/places/#Authentication

您可能希望现在考虑生成新的API密钥,您已经张贴在这里,以避免您的帐户下的服务被滥用。始终保持你的API密钥的安全。

You might want to consider generating a new API key now that you have posted it on here to avoid abuse of the service under your account. Always keep your API key safe and secure.

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

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