# 验价、下单与出票错误

{% hint style="info" %}
遇到 API 接入问题时，可登录 [Eva](https://www.atriptech.com/) 寻求帮助。
{% endhint %}

当搜索成功后、最终出票前的流程报错时，使用这个页面。

### 验价阶段错误码

#### `200` Illegal routing identifier

`routingIdentifier` 与有效搜索结果不匹配。

**处理建议**

* Use the latest identifier from search
* Do not modify the value

#### `202` Routing identifier expired

该标识已过期。

**处理建议**

* Run search again
* Use the new `routingIdentifier`

#### `206` / `207` No flights or target flight does not exist

搜索后库存发生变化。

**处理建议**

* Start from search again

#### `210` / `211` Fare family sold out or not found

舱位或票价产品已不可用。

**处理建议**

* Search again and re-select a valid offer

### 下单阶段错误码

#### `300` Invalid session information

`sessionId` 不正确。

**处理建议**

* Use the `sessionId` returned by verify

#### `301` Session does not exist or timed out

验价会话已过期。

**处理建议**

* If verify is still recent, repeat verify
* Otherwise start from search

#### `308` Price changed

验价后到建单前价格发生变化。

**处理建议**

* Restart from search or verify
* Reconfirm current price before booking

#### `309` Ancillary not found

附加服务 `productCode` 无效或已失效。

**处理建议**

* Re-read ancillary options from verify
* Use returned `productCode` values only

#### `312` / `315` Too many seats booked or not enough seats

库存变化，或请求座位数超过可用数量。

**处理建议**

* Reduce seats or restart from search

#### `318` Duplicate booking

同乘客同航班的订单可能已存在。

**处理建议**

* Query existing orders before retrying

### 出票阶段错误码

#### `602` / `603` Flight not found or sold out

支付后票价或库存失效。

**处理建议**

* Start a new booking flow

#### `609` Contact email is blocked by airline

航司拒绝了提交的联系邮箱。

**处理建议**

* Use another email
* Or use Atlas-generated contact email flow

#### `613` Payment rejected by airline risk control

航司风控拦截了出票。

**处理建议**

* Try another card
* Or retry with deposit mode

#### `616` 3DS authentication required

Atlas 在该流程里无法完成 3DS 验证。

**处理建议**

* Use a non-3DS card
* Or pay with deposit mode

#### `617` Insufficient balance

出票时 Atlas 预存余额不足。

**处理建议**

* Top up the account and retry

### 相关页面

* [验价](https://resources.atriptech.com/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/yan-jia)
* [创建订单](https://resources.atriptech.com/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/chuang-jian-ding-dan)
* [支付与出票](https://resources.atriptech.com/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/zhi-fu-yu-chu-piao)
* [查询订单](https://resources.atriptech.com/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/cha-xun-ding-dan)
