Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

REQUEST_DENIED Google Maps API v3 Places Error

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

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!

like image 754
Ionuț Dănilă Avatar asked Jul 12 '26 00:07

Ionuț Dănilă


2 Answers

It appears you have not activated the Places API service in your API's Console at https://code.google.com/apis/console.

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

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.

like image 101
Chris Green Avatar answered Jul 15 '26 22:07

Chris Green


Delete your old application and create new application and enable place api , then you will get api key in "Api Access".,It works for me

like image 32
venkatesh Avatar answered Jul 15 '26 22:07

venkatesh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!