我正在尝试通过 Amadeus API Explorer 访问自助式酒店搜索 API。
它似乎只适用于某些城市。例如,它适用于以下请求 - 城市:PAR
https://test.api.amadeus.com/v1/shopping/hotel-offers?cityCode=PAR&radius=50&radiusUnit=KM&includeClosed=false&bestRateOnly=true&view=NONE&sort=NONE
但是,如果我将 cityCode 更改为NYC
or SFO
,则会出现500间隔服务器错误
https://test.api.amadeus.com/v1/shopping/hotel-offers?cityCode=NYC&radius=50&radiusUnit=KM&includeClosed=false&bestRateOnly=true&view=NONE&sort=NONE
错误响应 -
{ code: 38189,
title: 'Internal error',
detail: 'An internal error occured, please contact your administrator',
status: 500 }