google api key

Angelo5 years ago

Hi,
got this error:
Empty address. Error: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account

so got an api key from Google, and put it this way, but still getting the same error:

    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>google</entry>
    <entry key='geocoder.key'>my_google_api_key</ <entry>
Anton Tananaev5 years ago

I suspect the key is incorrect, or there is some issue with it.

Dinesh yadav5 years ago

Getting the google API is half work done. You need to attach this API to google geolocation service and then add a billing profile. You should see the instructions in error message received during API call. Better first try with curl command, the way google suggest here https://developers.google.com/maps/documentation/geolocation/intro
Once it is working, then use the key in your tracking code. Hope it helps.