Google Places Api Key Not Allowed
I am using google places in android app and am getting this error
{
"error_message" : "This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console",
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
I tried using android key, browser key and server key but it doesn't work, please help me, I don't know what happened to the key ... !! Please help the url I am using:
https://maps.googleapis.com/maps/api/place/search/json?radius=50&sensor=true&key=<my key>&location=22,75
source to share
Follow the following link to get google registered map key
https://developers.google.com/maps/documentation/android/start
and make sure you enable api from api and auth,
also when providing sha1 key and your application name, provide valid data.
Hope it helps
source to share
Make sure you have enabled " Google Web Service Web Service API " (on the Google Api Console, https://console.developers.google.com ). You must use Server Key (not Android button)
source to share
"status": "REQUEST_DENIED" - Represents an issue regarding Google API permission. Make sure you don't forget to enable the API:
Android API for Google Maps
Geocoding API Google Maps
Geolocation API Google Maps
Google Places API for Android Google Places API
Web Service
I face the same issue too, but after surfing the developer site I found; it also requires you to enable the Places API for the web service and work for me.
Hope this can be helpful!
source to share