Flight Inspiration Search 出现 500 错误 API

Getting 500 error on Flight Inspiration Search API

我刚刚注册了您的 API,我正在尝试执行航班搜索请求。当前收到此错误消息:

URL: https://developers.amadeus.com/self-service/category/203/api-doc/3/api-docs-and-example/10001

{
  "errors": [
    {
      "status": 500,
      "code": 141,
      "title": "SYSTEM ERROR HAS OCCURRED",
      "detail": "DATA DOMAIN NOT FOUND FOR REQUEST"
    }
  ]
}

你能帮忙吗?

您正在测试环境下使用 API,其中 API 的数据收集有限,这意味着出发地和目的地的数量有限。您可以在我们的 GitHub repository.

中找到有关每个 API 的可用数据收集的更多信息

希望对您有所帮助!

这是 Amadeus Developer 对其工作原理的简要说明

Flight Inspiration Search and Flight Cheapest Date Search are built on a pre-computed cache, it means these 2 APIs do not offer the full coverage of all possible origin-destination pairs but only a subset. We have performed a cache migration last week to improve the data coverage, data quality, and response time of the API. In order to have a full data domain with live data you need to use the Flight Offers Search API

这可能意味着您请求的航班详细信息可能不存在于缓存中,因此没有响应。我就是这样:)