sethwebster / GoogleMaps.LocationServices

A simple library (including Nuget Package) for Google Maps geolocation and reverse geolocation
http://nuget.org/List/Packages/GoogleMaps.LocationServices
44 stars 42 forks source link

500 Error #25

Closed mikecsom closed 5 years ago

mikecsom commented 6 years ago

I am getting a System.Net.WebException: 'The remote server returned an error: (500) Internal Server Error.' only when I search for Oklahoma City OK. Any ideas?

Here is my code:

var gls = new GoogleLocationService("API_KEY"); MapPoint mp = gls.GetLatLongFromAddress("Oklahoma City, OK, USA");

Thanks in advance,

Mike

sethwebster commented 6 years ago

Are you setting an actual API_KEY?