- Error Code 1 – “Input cannot be less than zero length”
- Error Code 2 – “Various Descriptions”
- Error Code 4 – “Various Descriptions”
- Error codes in DOTS Address Geocode – US are the same for all operations. They are as follows:
- Error Code 1 – “Input cannot be less than zero length”
- This error means the web service did not get any input. The connection to the service was made, and data was transferred, but no parameters were passed that the service could understand. This error often happens when input is passed to the service with namespaces that the service does not understand. Applying a namespace to any of the parameters (Email or LicenseKey, in this service) will cause this error. Additionally, requests made in the “rpc/encoded” format will cause this error.
Important Note!
The namespace is not applied to the GetGeoLocation element, it is only present.
- Error Code 2 – “Various Descriptions”
- This error code appears when various errors occur, but are of the expected nature. Oftentimes, maligned or incomplete input will cause an error 2.
-
Desc. Code Description 2 Address field was too long, must be 300 characters or less. 2 Both a latitude and longitude are required. Please check your input and try again. 2 Invalid Postal Code 2 Latitude and longitude must be numeric. Please check your input and try again. 2 Latitude and longitude values must be numeric. 2 Latitude and longitude values are required for both locations. 2 Latitude and Longitude were not found for this address. Please check your input and try again. 2 Latitude values must be between -90 and 90 degrees. 2 Lat/Long value is not near water. 2 Location not found. 2 No address found. 2 Address was not found. 2 Longitude values must be between -180 and 180 degrees. 2 Please enter at least the first 2 letters of the city name. 2 Please input a city and state. 2 Please input a street address. 2 Please input a valid US Zip Code. 2 Please input either zip code or both city and state. 2 Please input zip code plus four. 2 Please input zip code plus four 2 Please input zip code plus two. 2 Please input zip code plus two 2 Please provide a valid license key for this web service. 2 Zip code does not exist.
- Error Code 4 – “Various Descriptions”
- An error code 4 is a fatal error and it means something has seriously gone wrong. You will never see an error code 4 in a live production environment.
-
Desc. Code Description 4 Address could not be found, search timed out. 4 Error initializing service. 4 Internal Error. Please contact customer service.