Google Places API Request Denied for Android Autocomplete, Even with the Right API Key

Google Places API request denied for Android autocomplete, even with the right api key

The Google Places API does not currently support Android or iOS keys generated from the Google APIs Console. Only Server and Browser keys are currently supported.

If you would like to request this support, please file a Places API - Feature Request.

Google places autocomplete api - REQUEST_DENIED

That's the wrong API key. Follow the steps here to get the right one.

Google Places API - REQUEST_DENIED

This is actually (b): wrong key. Actually, you're using the wrong kind of key (from Sign Up for the Google Maps API which is only good for the JavaScript V2 API).

Please see Obtaining an API Key for how to get a new API key, of the new kind.

Edit: At the time this question arose, valid API keys that worked on Geocoding API did not work on Places API, but now seem to work fine. Looks like some issue on Google side.

Google Places API request denied error

You are using Android key for google Place API.

Login on google console then create a Place API key, try again.
Sample Image
Sample Image

Android google places api return request denied

I solved the problem by using Server key instead of using brower key.

Not getting Places data using google Places API - This API project is not authorized to use this API

Needed some more thorough research and after some trial and error it worked. main thing was that I needed to enable Google Places API Web Service. and it worked like charm.

Hope this helps someone out there.



Related Topics



Leave a reply



Submit