Closed TravisSpangle closed 7 years ago
Yeah, we're not really sure what to do here. Google has become much stricter about the usage of their geocoding API and more people (including ourselves) are getting shut down, which is why we recently updated Graticule's MapQuest handler and moved our project there. While yes error handling could be better handled, there's no way for us to handle this error. You'll need to either pay for Google's API access or switch to another service entirely.
I had the same problem on a client site which was running an old version (2.0.1) of the gem. Upgrading to the latest version (2.4.0) which uses v3 of the Google API fixed it :+1:
Hi there! We’re doing some open source maintenance work and closing old issues. If you would still like this issue to be addressed, please re-open it by May 17, 2017. Thanks!
When sending a request to Google it passes back a 200 response of an HTML error message. Graticule assumes the OK status and continues on.
When it gets to Happy Mapper it fails all of the tests for XML locations but still assumes it is XML and falls back to
This raises an exception and fails the entire process.
HTML Response from google