Google API key for Geolocation not working

daka
Kilo Explorer

I'm trying to test Field Management & CSM, and the Auto-Assign for Work Orders keeps telling me the Google Maps API key isn't valid.

I created the google.maps.private.key sys_property, but that didn't help either. I'm on a developer instance right now, if that makes any difference.

find_real_file.png

And here's the error message, if that helps:

find_real_file.png

4 REPLIES 4

ananthagowraram
Mega Expert

Hi Daniel,



Check if API key got expired.



If it is free quota you can use only 25,000 per loads/day.



Regards


Anantha Gowraram


I've tried multiple keys by now, one was created yesterday and the others I created today since yesterdays key still didn't work.


I am not sure however that it's the right "type" of key, as the link ServiceNow provides is super-generic. I ended up here:



Get API Key   |   Google Maps Geolocation API   |   Google Developers



And then retrieved a key with the Get A Key button.



I've repeated that with retrieving a Key directly from the Web Services page:


Google Maps Web Service APIs   |   Google Developers


Still didn't work.



My last try was the Maps JavaScript API found here:


Google Maps JavaScript API   |   Google Developers


Also didn't work.


Hi daniel,



Please check the below link it may help you


Google Maps is not working on ServiceNow


Thanks for the link, I've applied the patch but it didn't change anything sadly.


I'm not having troubles with the maps displaying incorrectly, but with the Auto-Assign functionality that apparently also relies on the Google Maps API. Maps are working fine, it's just the Auto-Assign based on Location that's not working.