---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.0
alternate:
  - https://yandex.com/dev/market/partner-api/doc/en/push-notifications/concepts/error-codes.md
  - https://yandex.com/dev/market/partner-api/doc/ru/push-notifications/concepts/error-codes.md
  - https://yandex.com/dev/market/partner-api/doc/zh/push-notifications/concepts/error-codes.md
  - href: zh/push-notifications/concepts/error-codes.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/market/partner-api/doc/zh/llms.txt

# 错误消息

当市场发出请求时 [POST 通知书](https://yandex.com/dev/market/partner-api/doc/zh/push-notifications/reference/sendNotification.md)，返回带有代码的响应 `200` 及通知处理的信息。 [响应体](https://yandex.com/dev/market/partner-api/doc/zh/push-notifications/reference/sendNotification.md#200-ok)

如果有错误，请报告:

* `400 Bad Request` — 市场发出了错误的通知。 在响应中，指定错误类型并对其进行描述。 [响应体](https://yandex.com/dev/market/partner-api/doc/zh/push-notifications/reference/sendNotification.md#400-bad-request)

* `500 Internal Server Error` — 错误在商店方面。 [响应体](https://yandex.com/dev/market/partner-api/doc/zh/push-notifications/reference/sendNotification.md#500-internal-server-error)

发送其他代码将被视为错误，就像使用代码响应时一样 `500`. [商店的API没有响应](https://yandex.com/dev/market/partner-api/doc/zh/push-notifications/index.md#no-answer)


## 连接或使用API通知时出现错误 {#shop-errors}

**错误类型**|**错误子类型**|**错误描述**
----- | ----- | -----
`CANT_GET_RESPONSE` | `CONNECTION_REFUSED` | 无法建立与商店服务器的连接。 该错误可能是由商店一侧的网络问题引起的。
`CANT_GET_RESPONSE` | `CONNECTION_TIMED_OUT` | 连接到商店服务器的等待时间已过期。
`CANT_GET_RESPONSE` | `HTTP` | 从商店的反应是不同的 `200 OK`.
`CANT_GET_RESPONSE` | `READ_TIMED_OUT` | 商店对Yandex的响应的等待时间。市场要求已过期。
`CANT_GET_RESPONSE` | `SSL_ERROR` | 无法建立与商店服务器的安全连接。 安全证书无效。
`CANT_GET_RESPONSE` | `UNSUPPORTED_MEDIA_TYPE` | 存储响应的标头指定除 `application/json`. [数据格式](data-format.md)
`INVALID_RESPONSE` | `CANT_PARSE_RESPONSE` | 无法从商店的响应中提取数据。
`INVALID_RESPONSE` | `INVALID_DATA` | 商店响应的正文包含不正确或不足的数据。 例如，没有关于集成版本的信息。

有关请求和响应的详细信息，包括错误，可以在市场上的卖方帐户中查看。 — 点击您的帐户图标→ **设置** 在左边的菜单中，选择 **Api和模块** →标签 **通知日志**. 阅读更多关于这一节 [请求日志](https://yandex.com/dev/market/partner-api/doc/zh/concepts/debug.md).
