I am testing the Google Places API on an iOS 7 app.
When I send a request to the API I get a json result with the following error message:
This IP, site or mobile application is not authorized to use this API key.
To build the request, I went to the Google API console and generated my iOS API Key based on my application bundle.
I'm not using Google Maps or anything else on the app, just trying to make a request to the Places API.
Is there anything I'm missing?
PS: I copied the URL I'm using and changed the API key to the browser client key and tested it in Chrome and worked perfectly.
Have you tried using the browser client key inside the iOS app? From what I remember, the places API doesn't support iOS keys.
More info here: https://groups.google.com/forum/#!topic/google-places-api/Jlm15dG7eMA
And from the google api console docs: https://developers.google.com/console/help/#generatingdevkeys
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With