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.

23 thoughts on “I always get a Google Maps error (GEOCODE)

  1. Stefano L says:

    keys generated as help 3 times.
    Api enabled.

    still get the same error…thank you!

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
    js:96:51
    Geocoding Service: This service requires an API key. For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
    js:39:473
    Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

  2. Stefano says:

    Hi,
    yes I enabled.
    if you go to the link you can see the error in the console.

    I have also problem with the modal view….the page is totally black…(there’s black background set) even if manually removed it’s not usable.

    can you have a look at it?

    thank you

  3. Kris says:

    We continue to this get error mssg: ‘Geocoder failed due to: REQUEST_DENIED’ despite having set up the Google Maps API, site is verified etc – can you provide some clear direction on what needs to be done to resolve the issue.

    Thank you –

    • WeLaunch says:

      Hey Marvin,

      please check your browser console to get the exact Google Maps error log details. There you also find a link that will help you.

  4. zeroconf says:

    Hello,

    I cannot get it to work, when I open Chrome DevTools console I get these errors:

    “You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.”

    This WP installation is also using Google-Analytics-Dashboard-for-WP

    Which seems to include the same javascript for Google Maps. What can be done to avoid this conflict? Thank you!

  5. Manuel says:

    I can’t get my API to work …

    I have followed the steps of several tutorials and I don’t get it to work.

    I have followed these steps:

    1- I have gone to google cloud platform
    2- Create API
    3- I have chosen the second option HTTP referrers (web sites) – I have tried both putting the url of my website and leaving it blank.
    4- I create the API and enter it in the corresponding field of the plugin.

    This does not work…

    Geolocation API is UP
    Maps JavaScript API is UP

    Any idea what it could be?

    • Hannah Swanson says:

      I am also having this issue. The plugin works fine when I am logged in and viewing the site. When I am in incognito or my phone it has the “For development use only” watermark.
      -Billing is already set up
      -I have an API key
      -I have enabled Maps Javascript API, Geocoder API, Places API, and DIrections API

      I am not sure where the issue is coming from. Here are the error codes I am getting from inspecting.
      – Geocoding Service: You must use an API key to authenticate each request to Google Maps Platform APIs.
      -Google Maps JavaScript API warning: NoApiKeys

      Any Help would be appreciated.

  6. Eugene says:

    I am also having this issue. when logged into the site, the map shows correctly but when I am in incognito or logged out it has the “For development use only” watermark.
    -Billing is already set up
    -I have an API key
    -I have enabled Maps Javascript API, Geocoder API and Places API

    I see there is a warning – Google Maps JavaScript API warning: NoApiKeys but that simply makes no sense as they are active. The billing is setup and I have cleared the sites cache.

    Any Help would be appreciated.

Leave a Reply

Your email address will not be published. Required fields are marked *