I'm trying to use the Google API geocode service as follows:
https://maps.googleapis.com/maps/api/geocode/json?&address=melbourne&key=xxx&sensor=false
The response I get is always:
{
"results" : [],
"status" : "REQUEST_DENIED"
}
I have both Google maps API v3 and Places API services enabled. I have even set up billing. I have tried deleting and recreating numerous keys - all with the same effect. I have tried the service from different networks, also with the same result.
In the reports section of the Google API dashboard I can see the number of request accumulating but the response is always Request_Denied
.
Can anyone help?
Go to Theme Options > Other Options > Miscellaneous and paste copied API key to Google Maps API Key field: Click Save All Changes and you should be able to view Google Maps on your site.
API keys have multiple dependencies that can result in errors like: "The user is not authorized for this operation based on …". Please make sure you are using the correct credentials and endpoint with the correct API key.
To confirm the key is associated with the project: Go to the Credentials section, which can be accessed from the left side bar under Google Maps Platform > Credentials. Check that the API key you currently use on your website is listed.
The REQUEST_DENIED status is returned by the Places API when:
I failed to whitelist my production server's IP address.
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