Cannot register after entering in address possibly due to geocode API
qtrandev opened this issue · 4 comments
I am getting the error "Unable to geocode city. Womp Womp." in the console log when I enter in an address. I tried with https://www.citygram.org/miami but I also checked Los Angeles and see the same issue.
I searched for the error and it pointed to here:
citygram/app/assets/js/scripts.js
Line 358 in b2c1faa
The geocoding API used is:
https://maps.googleapis.com/maps/api/geocode/json?address=
Google started charging to use their Maps-related services and also imposed rate limits even with an API key. (https://developers.google.com/maps/documentation/javascript/geocoding)
An alternative geocoding API might need to be considered. (Nominatim maybe)
Thanks for looking into this issue!
@bigfleet we had built our own front-end so aren't relying on the one built-in to Citygram, but notably, we did register a Google API key for the front-end geocoding there.
Can confirm this issue also exists for Charlotte. Requests to geocode an address come back from Google Maps denied because they're missing an API key.
{
"error_message" : "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",
"results" : [],
"status" : "REQUEST_DENIED"
}
Also checked with Austin--- the same issue exists with entering an address in order to register. Austin's map can show events though. I might be touching on two separate issues here?
Closing since this issue looks fixed to me. Checked Miami and Los Angeles city sites.