API Key Issue ?

  • Christoph G. Olesch
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 3 weeks ago - 3 years 3 weeks ago #142568 by Christoph G. Olesch
API Key Issue ? was created by Christoph G. Olesch
Hello ...
I found a thread where someone else had trouble with their API Key function.
I have not had prior issues in other applications. But maybe I am missing something in Configuration.
The Map comes up with a location error. Has anyone had the same problem and resolved it?
  • The Location is set for Spring Grove, IL
  • The API Application Restrictions are set to HTTP Referrers (web sites)
  • The API Websites Restrictions is set to *.thedialogs.com/*
  • The API Restrictions is set to "Don't restrict key"
  • The API Key has been Enabled with the following minimum as noted
    • Maps Embed API
    • Maps Java Script API
    • Maps Geocoding API
    • Geolocation API
    • Maps Static API
NOTE #1: If the API Application Restrictions are set to "NONE", the Map semi-functions. It displays a different error, with the option of "Get Directions"
When "Get Directions" is clicked, a new Window is opened and the correct location map is displayed. So that means Google is functioning and there is a glitch in Events Booking?
NOTE #2: if StreetMap is selected, it displays a map location off the coast of Africa (as does Google).

Any ideas?
Thanks ... Christoph

  
 
Last edit: 3 years 3 weeks ago by Christoph G. Olesch.

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142573 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic API Key Issue ?
Hello

We can easily see what's wrong with the API Key from web browser console. You can send me the link to the page which map is being displayed and error is showing. I will take a look at it and tell you what's wrong

Tuan

Please Log in or Create an account to join the conversation.

  • Christoph G. Olesch
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 3 weeks ago #142576 by Christoph G. Olesch
Replied by Christoph G. Olesch on topic API Key Issue ?

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142577 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic API Key Issue ?
Hello

The error message from Google is You must enable Billing on the Google Cloud Project at console.cloud.google.com/project/_/billing/enable Learn more at developers.google.com/maps/gmp-get-started

Look like you need to provide billing information to them to use their API

Tuan

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142584 by ozwest
Replied by ozwest on topic API Key Issue ?
I struggled with this for months!!!!! Until I discovered by sheer incident that rather then putting in

*.domain.com/*

I put in

domain.com/*

and now it works like a charm..

Please Log in or Create an account to join the conversation.

  • Christoph G. Olesch
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 3 weeks ago - 3 years 3 weeks ago #142585 by Christoph G. Olesch
Replied by Christoph G. Olesch on topic API Key Issue ?
Hello Ozwest ...

Thanks for your reply. I found that to be a hit or miss. I don't know why. Some sites work with it and others don't. I also put in the google verification file into the root of the domain.

What I'm battling with now, and have concluded after 2 hours of time, is that Events Booking requires both text in the Location AND Coordinates field. If I put in only the Address, the Map displays the location off the coast of Africa. If I put in only the Coordinates, the map does not appear on the Front-End.

Also, pressing the "Get location from address" does not appear to be functioning. Additionally, the map in the Location set up does not appear. This is irrelevant to me, as long as the map shows on the Front-End. Does the map show in the Location set-up in your system?

Thanks ... Christoph
Last edit: 3 years 3 weeks ago by Christoph G. Olesch.

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142606 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic API Key Issue ?
Hi Christoph

You will need to enter both address and coordinates of the location to have the location shown properly on the map

If the API Key is properly setup, when you enter address, the system will have an auto suggestion populated to allow you to select a valid address and coordinates will be populated automatically

In your case, Get Location from address does nothing indicates that there is still something wrong with the Google Map API Key setup

Tuan

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142614 by ozwest
Replied by ozwest on topic API Key Issue ?
Actually that would be the same for me then too. Back to the drawing board with this API keys!!!

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142615 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic API Key Issue ?
To avoid confusing, maybe you should switch to use opentreetmap? Events Booking support OpenStreetMap and no key is needed

Tuan

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #142721 by ozwest
Replied by ozwest on topic API Key Issue ?
Hello Tuan

I have switched to OpenStreetMap and tested.

I have the same issue as with the Google Map, when typing the address, there are no suggestions coming up and clicking on the "Get location from address" does not work either.

I have switched back to Google Map ... here is the link to the website holisticevents.com.au for you to check.

Thank you

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc