Nominatim HTTP Error 403: Forbidden for default User-Agent
See original GitHub issueNominatim API seems to block the default User-Agent: Python-urllib/3.5
now: HTTP Error 403: Forbidden.
Looking at the code the default User-Agent should be geopy/1.11.0
? I’ve tried to set own user-agent
by: Nominatim(user_agent='MyApp/1.2.3')
but the request has still the user agent User-Agent: Python-urllib/3.5
and it fails with HTTP 403. So, the user-agent param does not work properly.
Edit: duplicate to #185 and probably solved by #184. Leaving this opened, since the Nominatim has started to block these requests just recently. Just to prevent other folks to duplicate the issue like me.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:15 (1 by maintainers)
Top Results From Across the Web
geopy.exc.GeocoderInsufficientPrivileges: HTTP Error 403
Im trying to use geopy to get the lat/long but it throws a http 403 forbidden error.
Read more >Nominatim HTTP Error 403: Forbidden for default User-Agent
Nominatim API seems to block the default User-Agent: Python-urllib/3.5 now: HTTP Error 403: Forbidden. Looking at the code the default User-Agent should be ......
Read more >HTTP error 403 (Forbidden) accessing tile - OSM Help
I'm trying to fetch a tile https://b.tile.openstreetmap.org/16/35672/23381.png from a Go script, and the server is returning a 403/Forbidden ...
Read more >Nominatim Returns A Configuration Error After Assigning A ...
Nominatim API seems to block the default UserAgent: Pythonurllib/3.5 now: HTTP Error 403: Forbidden.Looking at the code the default. Nominatim API seems to ......
Read more >GeoPy Documentation - Read the Docs
By default geopy geocoders are synchronous (i.e. they use an Adapter ... (e.g. by returning Too Many Requests 429 HTTP error or timing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@edwin34 python2
python3
Note: temporary hack to overcome this issue:
And use it: