New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insufficient Priveleges for Nominatim #112
Comments
yes, also got that |
Perhaps the Error 403 is due to requests being blocked. I found this post suggesting that the usage policy is being violated. Maybe an HTTP Referer or User-Agent is necessary, long-term? |
This issue seems to be caused by OSM changing the view box parameter from 'view_box' to 'viewbox'. I verified this by printing the log message from geopy with the geocode URL, copying it into a browser and changing it. Then I changed osm.py on my system, replacing 'view_box' with 'viewbox' in all instances. I have a branch with the change that I can push. |
I've started getting this error today from my program 13th Apr 2016, I didn't get it a few days ago and I've changed nothing. Also tested this from the command line running simple examples and get same result. I've now updated to geopy 1.11.0 from 1.10.0 and same result. geopy 1.11.0 looks like it has the view_box/viewbox fix so it's not that. |
This started happening to me today also. I posted it here http://stackoverflow.com/questions/36599584/geopy-error-and-timeout |
I changed from Nominatim() to geopy.geocoders.GoogleV3() and it now works; this may help someone find the problem. |
tobiz can you post some code? |
same here! It happened yesterday to me, and it still doesn't work ... any idea? I can't switch to google geocoded since I'm reverse-geocoding and they provide different addresses format (I should change my whole database) |
The code is self explanatory (I hope!) The exception code was added to find out what was going wrong - it just After some research I found there are other geocoders so tried GoogleV3 GeocodeFarm also works.def get_coords(address): geolocator = Nominatim(timeout=3, scheme='http') # Nominatimseems to have stopped working, see github geopy return FalseHope that helps you solve your problem; if not, interesting! |
Thank you. It returns less information for the Address but it will have to do for now. |
I have started getting the same issue yesterday myself, Im handling the exception by using a Google geolocator as a backup for now. |
Ya issue still persists!! |
Getting the same error
|
Nominatim returns
Actually this is stated in the docs.
If anyone is willing to help with adding ToS to documentation – see #268. |
same error here |
changed to this and no longer got error:
as noted to do in: https://geopy.readthedocs.io/en/stable/#nominatim |
Nominatim returns HTTP Error 403: Forbidden |
I had a similar problem; I just left it for a while and it now works again. I think the problem was at the sever end. |
0 "GeocoderInsufficientPrivileges" error - try to use 'Photon' instead of 'Nominatim' from geopy.geocoders import Photon |
When using Nominatim, we get an geopy.exc.GeocoderInsufficientPrivileges exception, even though Nominatim should not require account credentials:
Can anyone else confirm?
The text was updated successfully, but these errors were encountered: