I am using geopy package to get the location geocode but always run to the HTTP Error 400: Bad Request
.
Below is my code, which follows the official document https://geopy.readthedocs.io/en/stable/:
from geopy.geocoders import ArcGIS
geolocator = ArcGIS(scheme="http")
loc_home = geolocator.geocode("175 5th Avenue NYC")
Below is the error:
geopy.exc.GeocoderQueryError: HTTP Error 400: Bad Request
Please help and thanks in advance!