결함(Bug) #2898
open[3rdparty] Handle rate limit in search availability of hotelbed
0%
Description

[domain:vendor-api] Error during POST request to https://api.hotelbeds.com/hotel-api/1.0/hotels: body: <availabilityRQ xmlns="http://www.hotelbeds.com/schemas/messages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" sourceMarket="KR">
<stay checkIn="2026-01-24" checkOut="2026-01-27"/>
<occupancies>
<occupancy rooms="1" adults="2" children="0">
<paxes>
<pax type="AD"/>
<pax type="AD"/>
</paxes>
</occupancy>
</occupancies>
<hotels><hotel>884268</hotel><hotel>824594</hotel><hotel>693722</hotel><hotel>788868</hotel><hotel>715216</hotel><hotel>903924</hotel><hotel>628267</hotel><hotel>739062</hotel></hotels>
<filter paymentType="AT_WEB"/>
</availabilityRQ> rsp: <error>Rate limit exceeded</error>
java.lang.RuntimeException: <error>Rate limit exceeded</error>
at com.vendor.api.common.UltimateWebClientService.lambda$sendRequest$8(UltimateWebClientService.java:283) ~[!/:1.0-SNAPSHOT]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ 429 TOO_MANY_REQUESTS from POST https://api.hotelbeds.com/hotel-api/1.0/hotels [DefaultWebClient]
Original Stack Trace:
Files
No data to display