I'm trying to figure out why the following URL is returning:
<GeocodeResponse>
<status>INVALID_REQUEST</status>
</GeocodeResponse>
The URL I'm using is (API key taken out, for obvious reasons :))
I'm passing the address param... yet according to the documentation, it says that error is:
"INVALID_REQUEST" generally indicates that the query (address, components or latlng) is missing.
https://developers.google.com/maps/documentation/geocoding/
Any ideas? I'm at a bit of a loss!
EDIT: This is insane!
I added my own IP to the list of accepted ones for the API - and then access the URL from my browser:
Then it works. However, accessing it via a simple script on the server (with the correct IP address also white-listed at google), and it gives me the { 'status' => 'INVALID_REQUEST' }
error... ARGH!!!!