I always get a Google Maps error (GEOCODE)

If you get a “Geocoder failed due to: REQUEST_DENIED” error, then right click on yoursite, click on inspect and open the browser console. Reload your store locator page, and watch out for Google Errors. An example below:Example above shows this error.

Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key

Also please make sure you have setup your API Key correctly in the Google Console:

  • Allow your domain to access the key
  • Enable: Google Places API Web Service
  • Enable: Google Maps JavaScript
  • Enable: Google Maps Geocoding

If this does not work – open up the developer console. Reload the page and look into the console error.

Deja una respuesta

Tu dirección de correo electrónico no será publicada.