Monday, 2 September 2013

REQUEST_DENIED when using the Google Places API


<PlaceSearchResponse>
  <status>REQUEST_DENIED</status>
</PlaceSearchResponse>

I had this problem for a while, and could not find any solution for it on the web. But I did manage to sort it out, if you need a quick fix do the following:

In google api console when creating your key, I chose the server and left the field blank so it allows any IP. Now my api key works perfectly fine.

Key for server apps (with IP locking)
API key:
your api key
IPs:
Any IP allowed
Activated on:  date
Activated by:  you

I did the same for my ios key now it works on all of my ios apps.

No comments:

Post a Comment