REQUEST_DENIED Google Maps API v3 Places 错误 [英] REQUEST_DENIED Google Maps API v3 Places Error

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

问题描述

我正在尝试在 Google Maps API v3 中使用 Google Places,但出现以下错误:REQUEST_DENIED.我的 URI 是:https://maps.googleapis.com/maps/api/place/search/xml?location=47.1738409069289,27.5748251&key&keyamp;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

阅读本文后:REQUEST_DENIED 使用 Google Places API 时 和这个:Google Places API - REQUEST_DENIED,我得到了另一个密钥,设置传感器设置为 false 和 true,但我仍然遇到相同的错误.

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://code.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 Google Maps API v3 Places 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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