Airbnb

FREEMIUM
By DataCrawler | Updated vor einem Monat | Travel
Popularity

9.7 / 10

Latency

1,123ms

Service Level

100%

Health Check

100%

Back to All Discussions

Problem with error responses

Rapid account: Pedro 8 Zc 2 Lr 7 Qy
pedro-8zc2lr7Qy
vor 4 Monaten

Recently the getPropertyCheckoutPrice endpoint started returning errors incorrectly.

For example this requerst fails since the property has minumum number of nights required.

curl --request GET
–url ‘https://airbnb19.p.rapidapi.com/api/v1/getPropertyCheckoutPrice?propertyId=49695862&checkIn=2024-03-05&checkOut=2024-03-06&currency=USD
–header ‘X-RapidAPI-Host: airbnb19.p.rapidapi.com
–header ‘X-RapidAPI-Key: XXXXX’

But the response looks like this:

{
“status”: true,
“message”: “Success”,
“timestamp”: 1706127597800,
“data”: {
“0”: “T”,
“1”: “h”,
“2”: “i”,
“3”: “s”,
“4”: " ",
“5”: “h”,
“6”: “o”,
“7”: “s”,
“8”: “t”,
“9”: " ",
“10”: “r”,
“11”: “e”,
“12”: “q”,
“13”: “u”,
“14”: “i”,
“15”: “r”,
“16”: “e”,
“17”: “s”,
“18”: " ",
“19”: “a”,
“20”: " ",
“21”: “3”,
“22”: “-”,
“23”: “n”,
“24”: “i”,
“25”: “g”,
“26”: “h”,
“27”: “t”,
“28”: " ",
“29”: “m”,
“30”: “i”,
“31”: “n”,
“32”: “i”,
“33”: “m”,
“34”: “u”,
“35”: “m”,
“36”: " ",
“37”: “s”,
“38”: “t”,
“39”: “a”,
“40”: “y”,
“41”: “.”,
“42”: " ",
“43”: “T”,
“44”: “o”,
“45”: " ",
“46”: “b”,
“47”: “o”,
“48”: “o”,
“49”: “k”,
“50”: “,”,
“51”: " ",
“52”: “c”,
“53”: “h”,
“54”: “a”,
“55”: “n”,
“56”: “g”,
“57”: “e”,
“58”: " ",
“59”: “y”,
“60”: “o”,
“61”: “u”,
“62”: “r”,
“63”: " ",
“64”: “d”,
“65”: “a”,
“66”: “t”,
“67”: “e”,
“68”: “s”,
“69”: " ",
“70”: “s”,
“71”: “o”,
“72”: " ",
“73”: “y”,
“74”: “o”,
“75”: “u”,
“76”: “’”,
“77”: “r”,
“78”: “e”,
“79”: " ",
“80”: “s”,
“81”: “t”,
“82”: “a”,
“83”: “y”,
“84”: “i”,
“85”: “n”,
“86”: “g”,
“87”: " ",
“88”: “f”,
“89”: “o”,
“90”: “r”,
“91”: " ",
“92”: “a”,
“93”: “t”,
“94”: " ",
“95”: “l”,
“96”: “e”,
“97”: “a”,
“98”: “s”,
“99”: “t”,
“100”: " ",
“101”: “t”,
“102”: “h”,
“103”: “a”,
“104”: “t”,
“105”: " ",
“106”: “m”,
“107”: “a”,
“108”: “n”,
“109”: “y”,
“110”: " ",
“111”: “n”,
“112”: “i”,
“113”: “g”,
“114”: “h”,
“115”: “t”,
“116”: “s”,
“117”: “.”,
“details”: []
}
}

Rapid account: Pedro 8 Zc 2 Lr 7 Qy
pedro-8zc2lr7Qy Commented vor 4 Monaten

Thanks.

Rapid account: Data Crawler
DataCrawler Commented vor 4 Monaten

Hello,

The issue has been resolved. Now, the error message will be displayed in the correct format.

Thanks.

Join in the discussion - add comment below:

Login / Signup to post new comments