Geocoding Web Service returning 400 error sometimes, sometimes not
Hi Kids,
Stumbling through ignorance here so please be gentle. I have a gizmo that constructs some simple URL's to feed to the Geocoding Web Service to return latitude and longitude from some subset of address fields. Seems to work fine for a while and then gags. Thought I might be hitting the daily limit but A) I'm not near the limit (I think...) of 5K; B) it's throwing a 400 instead of the "limit exceeded" message; and C) it will still work immediately afterwards.
So the error message says:
Most likely causes:
- There might be a typing error in the address.
- If you clicked on a link, it may be out of date.
Trouble is, if I take the URL and paste it into IE, and hit return once, maybe I get the error, maybe it works. Hit return again, another flip of the coin. Sometime in the next 2-5 tries it will work - same string, no editing. Also, this is happening anywhere in my list - it can fail and/or succeed on any of the 1500 records I'm submitting from one list of zips only or of the 500 records from another list of full addresses. I thought the computer was supposed to be reliable and I was the flakey one...
Anyway, here's an example of a string that fails-then-succeeds (minus my top-secret yahoo ID - I'm new, didn't know if flashing that was bad form or not).
"http://local.yahooapis.com/MapsService/V1/geocode?appid=YadaYada&city=Canby&zip=96015"
One last funny bit - it seems to gag more often immediately after gagging once. If I let it rest for 30 minutes or so, I can often then crank through another few hundred before it gags again.
Am I doing something stupid here? Any help would be most appreciated.
Thanks
by
27 Replies