Hello,
I’m using nominatim search query since long time now. And since few days I receive a cors error. On my client side the code hasn’t change since few month, so I wonder what could happens.
I wonder if my client has been blocked ? But I don’t know if there is a specific contact to ask if my site was blocked and if so for which reason ?
Or maybe my request have missing headers ? I try to find solution in docs but for now I hae no solutions.
In any case, here is an example of my request :
GET /search?format=jsonv2&q=rez
Host: nominatim.openstreetmap.org
User-Agent: Mozilla/5.0 (Windows NT10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: /
Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Referer: https://backoffice.lecollecton.com/
content-type: application/json
Origin: https://backoffice.lecollecton.com
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
Connection: keep-alive
Thanks a lot in advance for those who can help me
Regards,
10 posts - 6 participants
Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/cors-issue-while-using-search-api/101942