Projekt starten

Ich bekomme immer einen Google-Maps-Fehler (GEOCODE)

Wenn Sie einen “Geocoder failed due to: REQUEST_DENIED”-Fehler erhalten, dann klicken Sie mit der rechten Maustaste auf Ihre Website, klicken Sie auf inspizieren und öffnen Sie die Browser-Konsole. Laden Sie Ihre Shop-Locator-Seite neu und achten Sie auf Google-Fehler. Ein Beispiel unten:Das obige Beispiel zeigt diesen Fehler.

Geokodierungsdienst: Dieses API-Projekt ist nicht berechtigt, diese API zu verwenden. Weitere Informationen zur Authentifizierung und zu den Google Maps JavaScript API-Diensten finden Sie unter: https://developers.googeln Sie.com/maps/dokumentation/javascript/get-api-key

Prüfen Sie außerdem, ob Ihr API-Schlüssel in der Google Console richtig eingerichtet ist:

  • Erlauben Sie Ihrer Domain den Zugriff auf den Schlüssel
  • Aktivieren: Google Places API-Webdienst
  • Aktivieren: Google Maps JavaScript
  • Aktivieren: Google Maps Geokodierung

Falls dies nicht funktioniert – öffnen Sie die Entwicklerkonsole. Laden Sie die Seite erneut und sehen Sie sich den Konsolenfehler an.

Fragen & Antworten (13)

  1. Manuel25. November 2019

    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?

  2. zeroconf15. Oktober 2019

    Hallo,

    Ich kann es nicht bekommen, um zu arbeiten, wenn ich Chrome DevTools Konsole öffne ich diese Fehler erhalten:

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

    Diese WP-Installation verwendet auch Google-Analytics-Dashboard-for-WP

    Diese scheint das gleiche Javascript für Google Maps zu enthalten. Was kann getan werden, um diesen Konflikt zu vermeiden? Ich danke Ihnen!

  3. WeLaunch15. Oktober 2019

    Google Analytics Dashboard sollte das Maps JS-Skript nicht ausführen? Fragen Sie bitte den anderen Plugin-Entwickler.

  4. Marvin10. Juli 2019

    Hello,

    I get the Error “Geocoder failed due to: REQUEST_DENIED”?

    What is wrong ?

  5. WeLaunch10. Juli 2019

    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.

  6. Kris10. Dezember 2018

    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 –

  7. WeLaunch11. Dezember 2018

    Hi there,

    you will need to enable the Geocoding Service in Google API Console.

  8. Eric James Mayers14. August 2018

    Does Google Maps Now require payment to work with store locator? We can not figure out a way to get the GEOCode to go a way with out a payment account?

  9. weLaunch14. August 2018

    Hi Eric,

    Google offers you a $200 free for month budget. After that you may need to pay, but you can read more here: https://cloud.google.com/maps-platform/pricing/

  10. Stefano16. Dezember 2017

    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

  11. weLaunch18. Dezember 2017

    Hi there,

    it seems like your API Key is expired. The error message directs to https://developers.google.com/maps/documentation/javascript/error-messages#expired-key-map-error

    This you need to fix in google’s API console. Otherwise pleae send WP-Admin to [email protected] and with a link to your Modal issue.

  12. Stefano L13. Dezember 2017

    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

  13. weLaunch14. Dezember 2017

    Have you enabled the Geocoding service for your API Key?