Forward & Reverse Geocoding

FREEMIUM
Verified
Por Geocoding | Atualizado vor 17 Tagen | Mapping
Popularidade

9.9 / 10

Latência

91ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

Previously working code getting Invalid Request error

Rapid account: Henrikgripenberg
henrikgripenberg
vor 8 Monaten

Hi,
Today trying to use the map forwarding geocoding api from my script, it started producing these Invalid Request errors, without warning. Could you please explain why?

Rapid account: Henrikgripenberg
henrikgripenberg Commented vor 8 Monaten

Okay, thank you so much. I figured there was some issue recently as it just started out of the blue, and you had not made any update on your part. Great job, now I can have my script working again.

Rapid account: Geocode Support
GeocodeSupport Commented vor 8 Monaten

We rolled out a mitigation that fixes a wrong http header we currently get from the RapidAPI proxy if a Content-Type is set in a request (which is not needed by the way). We are still in contact with RapidAPI in finding out why they add that header since today that shouldn’t be there in the first place and hope that they fix it as well. But with our mitigation you should not see the errors anymore and get results again even while sending a Content-Type header on your GET request.

Rapid account: Geocode Support
GeocodeSupport Commented vor 8 Monaten

Hello Henrik,
an update here brought up this error when you send a GET request including a Content-Type request header. We are working on mitigating the issue at the moment but you could also try not to send a Content-Type header in your GET requests, as that one should be used for POST (or PUT) requests that carry a payload body while a GET request should never have a body and therefore also no Content-Type header.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários