Travel Advisor

FREEMIUM
Verified
By Api Dojo | Updated hace 15 días | Transportation
Popularity

9.9 / 10

Latency

2,635ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Hotels data requests end up in empty arrays ...

Rapid account: Visaasiaonline
visaasiaonline
hace un año

Hi,

I’m writing a React.js app where I’m pulling restaurants, hotels & attractons data using axios. Things are fine except for the hotels data. It ends up sending me empty arrays like this [] … 1 out of 5 attempts will give me good hotel data but the rest are failing.

So far I’ve looked everywhere to find an issue without luck! No error anywhere in my code or anywhere else. Just the data missing…

Can anyone help? Did anyone experience this? Any help would be highly appreciated.

Thanx
Moose

Rapid account: Apidojo
apidojo Commented hace un año

Hello,

I checked your requests and saw that you are still calling the ver 1 endpoints so simply change to use ver 2.

Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments