Bayut

フリーミアム
Verified
よって Api Dojo | 更新済み 15 days ago | Business
人気

9.8 / 10

レイテンシー

2,105ms

サービスレベル

100%

Health Check

N/A

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

can not get any result when apply max price filter in for sale properties

Rapid account: Ajitesh 314 Mishra
ajitesh314mishra
2 years ago

when I apply maximum price filter on for sale properties it returns this error, but it works with for rent properties

filters: Unexpected token string(1.0E7) expected numeric at col 30

Rapid account: Apidojo
apidojo Commented 2 years ago

Hello,

You should always send along with request samples so I can reproduce the case. How did you see the response data? By running your code, or by using a HTTP client such as postman.com ? If there is error with your code, you should make the same request with an HTTP client and see the raw response to learn the case manually.

You should learn to improve your logic.
1/ Check whether or not the response status code is 200 before parsing the response data.
2/ Check whether or not the field is available before parsing the response data.
3/ Check whether or not the value of field is null or empty before parsing the response data.
You can always recheck your requests in the back-end area of RapidAPI. I checked the requests, everything seems to be fine, and have response data returned.

Regards.

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

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