Mismatch in Geocoding Response status codes
andrzejkaszkowiak opened this issue · comments
So, Google documented status codes for geocoding response is different than than ones provided by the library. Is there a mismatch, or google has an outdated documentation?
source code:
gmaps-api-net/src/Google.Maps/ServiceResponseStatus.cs
Lines 20 to 63 in fa0642a
from google docs:
"OK" indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned.
"ZERO_RESULTS" indicates that the geocode was successful but returned no results. This may occur if the geocoder was passed a non-existent address.
"OVER_QUERY_LIMIT" indicates that you are over your quota.
"REQUEST_DENIED" indicates that your request was denied.
"INVALID_REQUEST" generally indicates that the query (address, components or latlng) is missing.
"UNKNOWN_ERROR" indicates that the request could not be processed due to a server error. The request may succeed if you try again.
"ERROR" indicates that the request timed out or there was a problem contacting the Google servers. The request may succeed if you try again.
source: https://developers.google.com/maps/documentation/javascript/geocoding#GeocodingStatusCodes