Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1484171

    Hey Guys
    I get the message:
    Could not connect to Google Maps with this API Key.
    Troubleshooting:
    Check if you typed the key correctly.
    If you use the restriction setting on Google try to remove that, wait a few minutes for google to apply your changes and then check again if the key works here. If it does, you probably have a syntax error in your referrer url
    If none of this helps: deactivate all plugins and then check if the API works by using the button above. If thats the case then one of your plugins is interfering.

    I disabled all the plugins, and I also set up a new api key, I also unrestricted the key for a while, but then restricted it again.
    the google account is active and working. I have 50 other keys that don’t have any issues.

    I did a research and found that I can put the script:
    <script async defer
    src=”https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY&callback=initMap”&gt;
    </script>
    directly into the body code.. I use perfmatters for this.. and it is working now. but there must be something else wrong why enfold won’t let me place it.
    My way is not as elegant as putting it into the google services page in enfold.
    Thanks so much for helping me.
    Tina

    • This topic was modified 3 weeks, 3 days ago by webdesignphx.
    #1484199

    Hey Tina,

    Thank you for the inquiry.

    We tried logging in but the wp-admin and wp-login pages are inaccessible or have been disabled. Please reactivate the login pages or provide the custom login URL.

    Best regards,
    Ismael

    #1484212

    Oops sorry I’m using an alternative login page please see below

    #1484279

    Hi,

    Thank you for the update. We get this error when we try to validate the map.

    main.js:154 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:

    Please make sure that the Geocoding API is enabled in your Google Console. For more info, please check the links below:

    https://kriesi.at/documentation/enfold/google-map/#enable-services-for-google-api
    https://developers.google.com/maps/documentation/javascript/get-api-key?utm_source=devtools&utm_campaign=stable

    Best regards,
    Ismael

    #1484751

    Hi Ismael,
    I turned on:

    Selected APIs:
    Maps JavaScript API
    Geocoding API
    Policy Analyzer API

    now it works.
    Thank you
    Tina

    #1484767

    Hi,

    Great, I’m glad that you found a solution. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.