Forward & Reverse Geocoding

フリーミアム
Verified
よって Geocoding | 更新済み 21 दिन पहले | Mapping
人気

9.9 / 10

レイテンシー

92ms

サービスレベル

100%

Health Check

100%

すべてのディスカッションに戻る

Previously working code getting Invalid Request error

Rapid account: Henrikgripenberg
henrikgripenberg
8 महीने पहले

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 8 महीने पहले

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 8 महीने पहले

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 8 महीने पहले

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿