Geocoding Connecticut Zip code failing

3 posts / 0 new
Last post
jgoedhart
Geocoding Connecticut Zip code failing

I manage a site that uses US based zip codes to find store locations. My client recently discovered that a valid zip code in Conneticut (06001) was returning as invalid. I have so far discovered that a second Conneticut zip code, 06010, is also returning as invalid.

This is the message I get in the error log:

Mapquest geocoder returned confidence A4XAX for zip query 06001.


jgoedhart
Problem Resolved

I found the solution to my problem on my end. My code was expecting the US location in the returned JSON file but that was not the case with these zip codes.


MQBrianCoakley
Using only the zip can return
Using only the zip can return other results, especially in other countries, so it's best to loop through the results for an expected quality code or include the country in the address text.