"Google Maps API error:" on ZD 10.x.

  • 1
  • Question
  • Updated 2 months ago
  • Answered
  • (Edited)
Hi.

Our partner's enginner have deployed ZD with version 10.x.

But Zd shows error msg as "Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error"

How it solve and why does SZ show it?

Regards.
Photo of Jeronimo

Jeronimo

  • 178 Posts
  • 19 Reply Likes

Posted 5 months ago

  • 1
Photo of Michael Brado

Michael Brado, Official Rep

  • 2211 Posts
  • 304 Reply Likes
Hi Jeronimo, I think your last question is why does your partner see this on ZoneDirector?

Findings:
ER-5360: ZD1200 on 10.0.0.0.1424 Google Maps API error: MissingKeyMapError

Assumeing there is no network connection issue, it looks like the Google Map server is rejecting the request
and we may not be able to learn the exact reason.  We have discovered the solution is for customers to apply
for either a Google Map API key or a Bing Map API key of their own, and use it instead.



If you're unable to see this configuration icon if the map loaded failed, you can change the map
setting under Configuration -> System page, like this:



We've heard from other customers that their Google Map API key resolved the issue.

Can you/your partner apply and test your own API key in this case and let us know? 
Thanks and best regards.
Photo of Jeronimo

Jeronimo

  • 178 Posts
  • 19 Reply Likes
Thanks for kindly answer, Micheal.

you are correct. It's my mis-typing.

Whose api key should be applied? anyone's key?

Regards.
Photo of Jeronimo

Jeronimo

  • 178 Posts
  • 19 Reply Likes
Hi Micheal.

Thanks for your suggsstion, I have solved map problem.

I get google api using my account, and apply it onto ZD.

And It disappeared error msg.

Thank you.
(Edited)
Photo of Walter Boyd

Walter Boyd

  • 2 Posts
  • 0 Reply Likes
 Now Google wants an API key to authenticate users to access their APIs`.
You need to get the API key. Once you get the API key change the previous. 
photo editor
Photo of Herbert Koskamp

Herbert Koskamp

  • 4 Posts
  • 0 Reply Likes
You have to be carefull not to enter a space at the end of the API key. That was the reason why the entered API key did not work at my ZD in the first place. Getting a key via https://developers.google.com/maps/documentation/geocoding/get-api-key