You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Amadeus booking/flight-orders POST API报FOP创建错误(代码25779)求助

Amadeus booking/flight-orders API 突发500错误(FOP创建失败,代码25779)

我在开发基于Amadeus的预订系统,之前booking/flight-orders接口的POST请求一直正常工作,但从2023年7月19日开始,完全没改动代码的情况下,突然返回以下错误:

{
  "errors": [
    {
      "status": 500,
      "code": 141,
      "title": "SYSTEM ERROR HAS OCCURRED",
      "detail": "Error during the creation of the FOP, code : 25779"
    }
  ]
}

当前发送的请求载荷如下:

{
  "data": {
    "type": "flight-order",
    "flightOffers": [
      {
        "type": "flight-offer",
        "id": "13",
        "source": "GDS",
        "instantTicketingRequired": false,
        "nonHomogeneous": false,
        "oneWay": false,
        "lastTicketingDate": "2023-07-22",
        "lastTicketingDateTime": "2023-07-22",
        "numberOfBookableSeats": 9,
        "itineraries": [
          {
            "duration": "PT18H15M",
            "segments": [
              {
                "departure": {
                  "iataCode": "MEL",
                  "terminal": "2",
                  "at": "2023-07-24T21:15:00"
                },
                "arrival": {
                  "iataCode": "DXB",
                  "terminal": "3",
                  "at": "2023-07-25T05:15:00"
                },
                "carrierCode": "EK",
                "number": "407",
                "aircraft": { "code": "388" },
                "operating": { "carrierCode": "EK" },
                "duration": "PT14H",
                "id": "30",
                "numberOfStops": 0,
                "blacklistedInEU": false
              },
              {
                "departure": {
                  "iataCode": "DXB",
                  "terminal": "2",
                  "at": "2023-07-25T07:20:00"
                },
                "arrival": {
                  "iataCode": "KHI",
                  "terminal": "M",
                  "at": "2023-07-25T10:30:00"
                },
                "carrierCode": "EK",
                "number": "2110",
                "aircraft": { "code": "7M8" },
                "operating": { "carrierCode": "FZ" },
                "duration": "PT2H10M",
                "id": "31",
                "numberOfStops": 0,
                "blacklistedInEU": false
              }
            ]
          }
        ],
        "price": {
          "currency": "USD",
          "total": "1194.20",
          "base": "1121.00",
          "fees": [
            { "amount": "0.00", "type": "SUPPLIER" },
            { "amount": "0.00", "type": "TICKETING" }
          ],
          "grandTotal": "1194.20"
        },
        "pricingOptions": {
          "fareType": ["PUBLISHED"],
          "includedCheckedBagsOnly": true
        },
        "validatingAirlineCodes": ["EK"],
        "travelerPricings": [
          {
            "travelerId": "1",
            "fareOption": "STANDARD",
            "travelerType": "ADULT",
            "price": {
              "currency": "USD",
              "total": "1194.20",
              "base": "1121.00"
            },
            "fareDetailsBySegment": [
              {
                "segmentId": "30",
                "cabin": "ECONOMY",
                "fareBasis": "KLSOSAU1",
                "brandedFare": "ECOFLEX",
                "class": "K",
                "includedCheckedBags": { "weight": 30, "weightUnit": "KG" }
              },
              {
                "segmentId": "31",
                "cabin": "ECONOMY",
                "fareBasis": "KLSOSAU1",
                "brandedFare": "ECOFLEX",
                "class": "K",
                "includedCheckedBags": { "weight": 30, "weightUnit": "KG" }
              }
            ]
          }
        ]
      }
    ],
    "travelers": [
      {
        "documents": [],
        "id": "1",
        "dateOfBirth": "1985-10-20",
        "contact": {
          "phones": [
            {
              "countryCallingCode": "92",
              "deviceType": "MOBILE",
              "number": 1234567890
            }
          ],
          "emailAddress": "check@gmail.com"
        },
        "gender": "MALE",
        "ticketingAgreement": "CONFIRM",
        "name": { "firstName": "Testing", "lastName": "One" }
      }
    ],
    "formOfPayments": [
      {
        "creditCard": {
          "brand": "VISA",
          "holder": "Testing One",
          "number": 4012999999999999,
          "expiryDate": "2025-12",
          "securityCode": 123,
          "flightOfferIds": ["13"]
        }
      }
    ]
  }
}

内容的提问来源于stack exchange,提问作者user3117281

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.15 19:18:09