watsonbox / ios_google_places_autocomplete

Google Places address entry for iOS (Swift)
MIT License
269 stars 72 forks source link

Access_denied #20

Closed PhaelIshall closed 9 years ago

PhaelIshall commented 9 years ago

I'm geting an Access denied error from Google places, do we have to change anything other than the API key?

swennemans commented 9 years ago

@PhaelIshall I had the same issue, problem is probably you've set up an IOS Key and Google Places IOS api. Don't do this.

Check: http://stackoverflow.com/questions/14654758/google-places-api-request-denied-for-android-autocomplete-even-with-the-right-a for more info.

schan93 commented 9 years ago

I'm having the same issue.

@swennemans I looked at the link provided and I removed the iOS key I created and made a Browser key. Then I inserted that API key given in place of the previous iOS key I had and I get the same issue. Do you mind going into more details on how to fix this issue?

EDIT: nevermind fixed it. You just need to download the Google Places API for Web to do this. Thanks!

watsonbox commented 9 years ago

@PhaelIshall Hopefully you've resolved your issue. I'll re-open this if not but it doesn't sound like a problem with the library.

PhaelIshall commented 9 years ago

it was a problem with the API, you have to access it through the web services API not the iOS for some reason. Please say that in your description.