This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Why am I all of a sudden getting error 403?

0

We have been using OSM for about 8 months with no problems. Then yesterday morning we started getting "HTTP/1.1 403 Forbidden" errors. Why would this pop up all of a sudden? We are linking to URL := 'http://nominatim.openstreetmap.org/search?q='; from a Delphi web app. The query string contains street address info; we are just getting a lat and lon. Like I say, been working for 8 months.

asked 30 Jul '13, 16:36

sbirny's gravatar image

sbirny
11112
accept rate: 0%

edited 01 Dec '18, 22:37

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

4

Just to be absolutely sure, when you say you're "using OSM" do you mean "browsing to www.openstreetmap.org" or something else?

(30 Jul '13, 16:39) SomeoneElse ♦
4

Educated guess: Nominatim reverse lookups.

(30 Jul '13, 17:28) Firefishy ♦♦
3

Which would be subject to the Nominatim usage policy.

(30 Jul '13, 18:02) Frederik Ramm ♦

2 Answers:

6

A 403 error means that you have been manually blocked because you have violated the usage policy or your queries have shown other suspicious behaviour. First of all check that your use of the API conforms to the usage policy, in particular, check that you are sending either a valid referrer (for web services) or a customized user agent that identifies your application.

If you cannot see any obvious violations of the usage policy, you will need to contact the Nominatim sysadmin directly to find out more details and have the block lifted.

answered 30 Jul '13, 20:51

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

edited 12 May '15, 14:47

2

I had the same problem..couple of minutes ago:) I wrote a script to lookup some exif gps coords to rename the image accordingly via php:

  • 1st take a look at the usage policy
  • Provide in the NOMINATIM-lookup-url your email &email=yourATreal.email&lon=..&lat=..
  • limit your requests that other users can also profit from this great service

answered 16 May '15, 17:13

mauzo's gravatar image

mauzo
4114
accept rate: 0%

edited 17 May '15, 12:46

Source code available on GitHub .