Why not ask your question on the new OpenStreetMap Community Forum?

hi , i m getting result if i paste the this generic api url like http://nominatim.openstreetmap.org/reverse?format=json&lat=28.7041&lon=77.1025 in browser but when i use this same api url in java application it will give me exception like Server returned HTTP response code: 403 for URL: http://nominatim.openstreetmap.org/reverse?format=json&lat=28.7041&lon=77.1025

can anybody solve this problem,

regard , manish kumar liferay developer.

asked 14 Feb '18, 12:33

panditManish's gravatar image

accept rate: 0%

edited 01 Dec '18, 22:37

aseerel4c26's gravatar image

aseerel4c26 ♦

I guess you violated the usage policy of nominatim.openstreetmap.org.

Check if your request includes an HTTP Referer or User-Agent and check the number of requests per second.

If the usage policy is too strict for your use-case then either switch to a third-party provider or install your own Nominatim instance.

permanent link

answered 14 Feb '18, 13:32

scai's gravatar image

scai ♦
accept rate: 23%

edited 14 Feb '18, 13:32

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Feb '18, 12:33

question was seen: 5,440 times

last updated: 01 Dec '18, 22:37

powered by OSQA