SaferPlace / original

Original safer.place A webapp to help students pick the best areas to live for college
MIT License
0 stars 0 forks source link

"REQUEST_DENIED" when querying Google Maps Geocoding API #1

Open VoyTechnology opened 4 years ago

VoyTechnology commented 4 years ago

It looks like Google Maps API now requires a API Key. This is not being sent with the request at the moment, and the following error is thrown:

Address for location <REDACTED> not found. Status 'REQUEST_DENIED'
Eircode not found
Getting template error.html in language en
172.17.0.1 - - [09/Jun/2020 17:03:13] "GET /details?input=<REDACTED>&lang=en HTTP/1.1" 200 -
Address for location <REDACTED> not found. Status 'REQUEST_DENIED'
VoyTechnology commented 4 years ago

It looks like this is the geocoding API we want to use and its pricing. Perhaps we can somehow look for free alternatives

https://developers.google.com/maps/documentation/geocoding/usage-and-billing

VoyTechnology commented 4 years ago

@CianLR can you verify this is the API we should be using?

CianLR commented 4 years ago

That's the one alright, used to have a free allowance :(