Travel Advisor

フリーミアム
Verified
よって Api Dojo | 更新済み hace un mes | Transportation
人気

9.9 / 10

レイテンシー

2,941ms

サービスレベル

100%

Health Check

N/A

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

THERE'S A PROBLEM WIHT HOTEL API

Rapid account: Wudgres 2
wudgres2
hace un año

Hi APIDOJO TEAM,
HOPE Y’ALL DOING GOOD… FIRST AND FOREMOST THANKS FOR CREATING THIS USEFUL API , IM CURRENTLY USING IT IN MY PERSONAL PROJECT AND IM LOVIN IT BUT RECENTLY I RAN INTO THIS “ERROR” OR “PROBLEM” WHAT EVER U WANNA CALL IT!! SO BASICALLY WHEN I TRY TO FETCH DATA FROM HOTELS API IT THROWS THE FOLLOWING ERROR

{
“errors”: [
{
“type”: “BadRequestException”,
“message”: “The checkin time is before today in accommodation 293919 timezone.”,
“code”: “117”
}
]
}

I DON’T UNDERSTAND WHAT’S WRONG MY CODE OR THE API ITSELF… COULD U PLS HELP ME OUT !!!

Rapid account: Apidojo
apidojo Commented hace un año

Hello,

As I mentioned “The response message has already told you what was wrong”. You should scroll the page down and check the value of “checkin” parameter. Please check the screenshot :
https://prnt.sc/LUyuN-CyomLE
https://prnt.sc/R8n_d-3SY0GE
https://prnt.sc/KhVGDI8BnA0I
You simply use tomorrow or future date instead and try again. Ex : …&checkin=2022-12-15
In addition, you can always review your requests at https://rapidapi.com/developer and the endpoint was deprecated long time ago.

Regards

Rapid account: Wudgres 2
wudgres2 Commented hace un año

here’s a screenchot of it !

[https://ibb.co/3Wr7ZXZ]

Rapid account: Wudgres 2
wudgres2 Commented hace un año

i mean i tried entering a bunch a bunch of differnent countries co-ordinates, i also tried changing the date it doesnt seem to work …
i dont get it like could u explain it in more detail

Rapid account: Wudgres 2
wudgres2 Commented hace un año

im a beginner im trying to call the api in my react app using axios get method
i’ve never used check-in datetime in the past if could sir!! pls tell me how its done?

Rapid account: Apidojo
apidojo Commented hace un año

Hello,

What is your body request?
The response message has already told you what was wrong. Didn’t you read it? “The checkin time is before today in accommodation 293919 timezone”. Did you use checkin datetime in the past?!

Regards

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

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