개선(improvement) #2944
open[3rdparty] Handle rate limit of agoda vendor in open api
0%
Description
[domain:vendor-api] Error during POST request to https://affiliateapi6792.agoda.com/api/v4/property/availability: body: {"waitTime":60,"criteria":{"language":"en-us","currency":"USD","UserCountry":"KR","propertyIds":[16506111,6492371,6260595,28803889,31249339],"checkIn":"2026-02-05","checkOut":"2026-02-06","adults":1,"children":0,"childrenAge":[],"rooms":1},"features":{"ratesPerProperty":25,"extra":["rateDetail","content","metaSearch","benefitDetail","cancellationDetail","surchargeDetail"]}} rsp: {"searchId":-1,"errorMessage":{"id":"926","message":"Too many requests"}}
java.lang.RuntimeException: {"searchId":-1,"errorMessage":{"id":"926","message":"Too many requests"}}
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://affiliateapi6792.agoda.com/api/v4/property/availability [DefaultWebClient]
No data to display