get location error