Support

Home Forums Event Espresso Premium Google Map not Displaying

Google Map not Displaying

Posted: February 14, 2020 at 9:01 am


bcannon11

February 14, 2020 at 9:01 am

The Google Map is not displaying on my event page:
https://drive.google.com/open?id=1vBgoqpfzEz8eftZVW0fqXkLGzTsW5hx6

Can you please tell me what I’ve done wrong as I obviously don’t have everything set correctly:
https://drive.google.com/open?id=1PgrgfA4Pd_IxtFsDMiUIkNN8aaJLCWev
https://drive.google.com/open?id=1OVoyowncieRtACKdjXmTcHvyMAjFIdKD
** redacted **

Thank you!

  • This topic was modified 2 days, 11 hours ago by  Josh. Reason: removed screenshot which contains API key


Josh

  • Support Staff

February 14, 2020 at 9:13 am

Hi,

The error in the console says “RefererNotAllowedMapError”
Your site URL to be authorized: https://bethcannonspeaks.com/

So where you have
http://*.bethcannonspeaks.com/*
and other variations with *, you remove those and replace with:
https://bethcannonspeaks.com/

Then, you’ll also need to check the checkbox next to Geocoding API.


bcannon11

February 14, 2020 at 10:27 am

I made your changes and I’m still getting an error message (I waited way longer than 5 minutes for settings to take effect):
https://bethcannonspeaks.com/venues/locavore/
https://bethcannonspeaks.com/events/breaking-burnout/

Can you please check again for me and let me know where I’m still messed up?
https://drive.google.com/open?id=19omM5Ir8KE-RVcvlljqaAqLTKa1QhmB2
https://drive.google.com/open?id=1aaOiolE7U956ExtEBo4IwPcjJWNJbppU

Thank you!


Josh

  • Support Staff

February 14, 2020 at 10:49 am

You could try adding these items to Website restrictions:

https://bethcannonspeaks.com/events/*
https://bethcannonspeaks.com/venues/*


bcannon11

February 14, 2020 at 2:53 pm

I made your suggested changes:
https://drive.google.com/open?id=1M2DQoANjPoMmRAsHlNkM6Xv48FDCvAJc

but I’m still getting the same Oops message:
https://bethcannonspeaks.com/events/breaking-burnout/
https://bethcannonspeaks.com/venues/locavore/

Do you have any other suggestions? I’d really like the map to display. Thank you.


Josh

  • Support Staff

February 14, 2020 at 3:20 pm

Hi,

You can check the console and get the error directly from Google. In this case, the error now is:
Google Maps JavaScript API error: ApiTargetBlockedMapError

and they give you this URL:
https://developers.google.com/maps/documentation/javascript/error-messages#api-target-blocked-map-error

which has this information:

The Maps JavaScript API has not been authorized for the used API key. Please check the API restrictions settings of your API key in the Google Cloud Platform Console.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 days, 4 hours ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!