avs099
avs099

Reputation: 11227

How to get server-side call to Google Places API to work?

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"
}

enter image description here

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??

enter image description here

Upvotes: 0

Views: 334

Answers (1)

Ezphares
Ezphares

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

Related Questions