Bayut

FREEMIUM
Verified
Par Api Dojo | Mise à jour 22 days ago | Business
Popularité

9.8 / 10

Latence

2,137ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

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.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires