Reputation: 11227
I'm trying to get Place Detail via Google Places API as follows:
https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJLQUUOYZZwokR1BfSFbM-XB4&key=<<KEY>>
but I keep getting the following error (both in browser and server-side):
{
"error_message" : "This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/places_backend?project=_",
"html_attributions" : [],
"status" : "REQUEST_DENIED"
}
I created a brand new key without any restrictions (and Maps API is enabled in my google console). How do I get this to work??
Upvotes: 0
Views: 334
Reputation: 359
The Places API is separate from the Maps API. Make sure the Places API is enabled in the developer console as well.
Upvotes: 1