google-mapsgoogle-maps-api-3geocodinggoogle-geolocation

This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console


I have a latitude, and longitude : "-27.0000,133.0000". I want produce a map base on that.

I've tried go to this link

https://maps.googleapis.com/maps/api/geocode/json?latlng=-27.0000,133.0000&key=******

I keep getting this error on the browser

{
   "error_message" : "This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console",
   "results" : [],
   "status" : "REQUEST_DENIED"
}

But I think I already enable that API. I log-in to my Google Console, and double check.

When I go to : https://console.developers.google.com/project/75423435770063/apiui/apis/enabled

I see :

Geocoding + Geolocating is enable.

enter image description here

I'm a little stuck now. Is there anything that I missed here?


Solution

  • From the picture you posted, it say it's disabled...

    Go to the Developer Console

    Navigate to Google Maps -> APIs

    Search for Geocoding and click on Google Maps Geocoding API -> Enable API. Do the same thing for Geolocating