Search code examples
openstreetmaphttp-status-code-403nominatim

http://nominatim.openstreetmap.org api giving httpcode 403


api call to http://nominatim.openstreetmap.org/search?format=json started giving httpcode 403.

We are using this api since last 2 years and never faced such issue.

Suddenly today it started giving this error.

Any kind of help is appreciated!


Solution

  • Added HTTP Referrer and it worked! As per their usage policy , valid HTTP Referrer is required. However not sure about how it used to work earlier.