{
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address xxx.xxx.xxx.xxx, with empty referer",
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
I have been trying all day to make a request that returns a JSON object like this: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=cruise&key=API_KEY
I have tried following the guide at https://developers.google.com/places/android-api/signup. I have read so many posts, like How do I get a Google Places API key for my Android App, and made Server keys and Android keys. I am still getting this error message.
I've enabled the Places API in the developer's console.
I want to make this query in the Android app, so I need the Android key right? Some posts have been saying to get the Server Key. I am so confused.
I've made so many keys today. I don't know if all of the other posts of people having this problem are outdated or I am just doing something completely wrong. I've gotten the SHA1 finger print from using keytool on my command line. I still keep getting Request Denied.