0

I am trying to create a sample app using Google Places Api. I have never used this api before,so I want to give it a try:).

The first thing I did was to enable Google Places Api for Android and to create an Android key from Google Console api with the keytool command in cmd(I am using Windows 8.1). Then I add my API_KEY into the following link as..

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=cruise&key=AIzaSyC8aJYaI9djrUoEMaMIa3sRF36buKPSV0M

and the json response I am getting is this.

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

Why do I have a request denied status?

Thanks

Theo
  • 3,099
  • 12
  • 53
  • 94
  • check if [this](http://stackoverflow.com/questions/35195516/how-to-use-google-places-api-for-web-service-in-android/35195566#35195566) helps – Blackbelt Feb 11 '16 at 15:23
  • 1
    This too: http://stackoverflow.com/questions/31011216/request-denied-with-google-places-api-key-for-server-web-used-in-an-android-appl – Daniel Nugent Feb 11 '16 at 15:26
  • Yes. I had to enable Google Places Api Web Service too. Thanks. – Theo Feb 11 '16 at 15:39

0 Answers0