错误的类型以及如何处理它们

如果商店的请求无法完成,市场将返回参数作为响应。 errors. 它包含错误代码(参数 code)及其简要说明(参数 message).

如果某个代码有太多错误,您将在市场上的卖家帐户中收到有关此的通知。

错误代码是什么意思?

密码

标题

发生了什么,该怎么做

400

Bad Request

请求内容有问题。 例如,JSON数据格式存在错误,或者您正在尝试更改已取消或已交付订单的状态。

专注于错误描述,以了解究竟是什么错误。

401

Unauthorized

授权令牌未在请求中指定(或已指定,但不在那里)。

403

Forbidden

  • 授权令牌不起作用。 对于OAuth令牌: 最有可能的是,它已经过期,或者您已经从工作人员中删除了为其颁发令牌的人。
  • 由于[商店或橱柜不活动],API方法不可用(*inactivity).
  • 另一个访问错误。

404

Not Found

  • 找不到请求的方法或资源。 检查商店系统使用的请求地址。
  • 未找到指定的参数。 例如,广告系列。 检查传输数据的正确性。
  • 未找到方法版本。 检查您使用的版本是否正确。

405

Method Not Allowed

在指定的资源上没有这样的方法。

检查商店系统使用的请求地址。

415

Unsupported Media Type

方法不支持所请求的内容类型。

检查请求的正确性。

420

Enhance Your Calm

商店超出了请求限制。

确保您的系统不会发送任何多余的内容。

423

Locked

该方法不能用于此存储。

专注于错误描述,以了解究竟是什么错误。

499

Client Closed Request

客户端在完成市场端的请求处理之前关闭了连接。 检查客户端的超时并重复请求。

500

Internal Server Error

市场的内部错误。

503

Service Unavailable

的Yandex。市场服务器过载。

查询内容中的错误(400)

在所有方法中发现的错误

资料描述

翻译

怎么办

发生错误的方法

'field' elements must be not null (rejected value: 'value')

收集项目不应 null.

用值删除或替换元素 null.

它在所有方法中找到。

'field' must be greater than 'value' (rejected value: 'value')

值必须严格大于阈值。

指定可接受范围内的值。

它在所有方法中找到。

'field' must be greater than or equal to 'value' (rejected value: 'value')

值必须大于或等于阈值。

指定可接受范围内的值。

它在所有方法中找到。

'field' must be less than or equal to 'value' (rejected value: 'value')

值必须小于或等于阈值。

指定可接受范围内的值。

它在所有方法中找到。

'field' must match 'regexp' (rejected value: 'value')

值与所需模板不匹配。

传递正则表达式对应的值。

它在所有方法中找到。

'field' must not be empty (rejected value: 'value')

字段不能为空。

传递非空字段值。

它在所有方法中找到。

'field' must not be null (rejected value: null)

必填字段未通过。

指定字段值。

它在所有方法中找到。

'field' size must be between 'min' and 'max' (rejected size: 'size')

无效集合大小:必须从"min"到"max"。

将元素数量更改为可接受。

它在所有方法中找到。

'field' size must be between 'min' and 'max' (rejected value: 'value')

无效值长度:必须从"min"到"max"。

传递允许长度的值。

它在所有方法中找到。

Campaign type is not allowed. Allowed campaign types: 'campaignTypes'

此方法不支持商店的运营模式。

确保使用支持商店运营模式的方法。

它在所有方法中找到。

Content type 'contentType' not supported

不支持请求的内容类型。

在标头中传递支持的内容类型之一 Content-Type. 详细了解输入数据格式

它在所有方法中找到。

Illegal input at 'path'

指定路径的无效值。

使用指定的路径检查请求正文中的结构和类型;更正字段名称和值格式以匹配预期的JSON架构。 如果内容类型不是JSON,请指定正确的类型。 Content-Type.

它在所有方法中找到。

JSON: {message}

JSON数据格式包含错误。

检查JSON的正确性。

它在所有方法中找到。

Required request body is missing

请求体是必需的,但尚未传输。

确保您已经传递了需要它的方法的请求正文。

它在所有方法中找到。

Required request parameter 'param' is not present

未传递所需参数。

确保您已为所使用的方法传递了所有必需的输入参数。

它在所有方法中找到。

The request is too big: Maximum allowed request size must be less than 'maxSize' KB, but passed 'size' MB

请求过大:传输的请求的大小大于允许的最大值。

减少请求体;如果体积很大,则将数据拆分为几个较小的请求,以便每个请求都不超过限制。

它在所有方法中找到。

The request is too big: {message}

已超过HTTP请求大小限制。

内容的大小不能超过512KB。 将请求分成几个。

它在所有方法中找到。

Type mismatch: 'value'

输入值类型与预期参数类型不匹配。

以正确的格式和类型传递值,可以在相应的方法页面上查看。

它在所有方法中找到。

Unexpected end of content

请求体意外结束。

检查请求体中传输的数据的格式的正确性。

它在所有方法中找到。

分页错误

资料描述

翻译

怎么办

发生错误的方法

Bad page token

无效的分页标记。

检查传输的分页令牌的正确性。 了解有关查询中的分页的详细信息.

在所有使用分页的方法中都可以找到它。

Limit exceeded

已超过每页值数的限制 — 参数 limit.

值的数量减少。

在所有使用分页的方法中都可以找到它。

Limit is less than number of offerIds

限制小于已转移的优惠Id的数量。

放大/放大 limit 到至少一个数字的值 offerIds,或缩短列表 offerIds 并用几个请求调用该方法。

GET v2/campaigns/{campaignId}/offer-prices POST v2/businesses/{businessId}/offer-prices POST v2/businesses/{businessId}/offer-mappings POST v2/businesses/{businessId}/offer-cards POST v2/campaigns/{campaignId}/offers PUT v2/campaigns/{campaignId}/offers/stocks

Non positive limit

非正值 limit.

发送为 limit 一个正数。

在所有使用分页的方法中都可以找到它。

Page not exist: 'page'

请求的页面不存在。

传输正确的分页参数。 — 积极的 pagepageSize. 页码不应超过 pagesCount.

GET v2/campaigns

Page size is too big: 'pageSize'. Max page size is 'maxPageSize'

传输的页面大小超过允许的最大大小。

将页面大小设置为不超过最大大小。

在所有使用分页的方法中都可以找到它。

处理订单时的错误

资料描述

翻译

怎么办

发生错误的方法

Action is not allowed for order 'orderId' with status 'status' and substatus 'substatus'

该操作对于当前状态和子状态中的订单不可用。

有关如何处理您的位置类型的订单的详细说明,请参阅部分 分步说明.

POST v2/campaigns/{campaignId}/orders/{orderId}/delivery/track PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date PUT v2/campaigns/{campaignId}/orders/{orderId}/identifiers PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Action is not allowed for order 'orderId' with status 'status' and substatus 'substatus'

该操作对于当前状态和子状态中的订单不可用。

有关如何处理您的位置类型的订单的详细说明,请参阅部分 分步说明.

POST v2/campaigns/{campaignId}/orders/{orderId}/delivery/track PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date PUT v2/campaigns/{campaignId}/orders/{orderId}/identifiers PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Attempt to change order items or instances after READY_TO_SHIP

切换到状态后尝试更改订单项或标签代码 READY_TO_SHIP.

切换到状态后,请勿尝试更改订单组合或标签代码 READY_TO_SHIP. 有关如何处理您的位置类型的订单的详细说明,请参阅部分 分步说明.

PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Cancellation request substatus 'subbstatus' is not available for status 'status' and role 'role' for order 'orderId'

取消请求的子状态对于指定的状态和角色组合不可用。

使用正确的子状态,考虑到订单状态和您的角色。

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

Cannot do operation for order with status 'status', and substatus 'substatus' (partnerId = 'partnerId', orderId = 'orderId')

无法对具有当前状态和子状态的订单执行操作。

订单状态更改后不要发送外部ID PROCESSING 具有子状态 READY_TO_SHIP.

POST v2/campaigns/{campaignId}/orders/{orderId}/external-id

Cannot do operation, external ID already set for order (partnerId = 'partnerId', orderId = 'orderId', externalId = 'externalId')

无法执行操作:已为订单发送外部ID。

不要尝试多次传输外部订单ID。

POST v2/campaigns/{campaignId}/orders/{orderId}/external-id

Date field 'dateFieldTo' must be greater or equal to 'dateFieldFrom'!

间隔的结束日期必须至少是开始日期。

设置周期结束不早于开始;调整日期或在必要时交换它们。

POST v2/campaigns/{campaignId}/stats/orders

Delivery date can't be in the future

交货日期不能在未来。

设置交货日期不晚于当前时刻。

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

Exceeded the number of days to edit delivery dates! limit is: 'days' days

已超过编辑交付日期的允许期限。

推迟日期不超过指定的天数限制。

PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date

Exceeded the number of edits of delivery dates! limit is: 'limit'

已超过交货日期更改的数量。

PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date

Invalid filters: interval between 'dateFrom' and 'dateTo' is more than 'range' days.

过滤器不正确:开始日期和结束日期之间的间隔超过允许的值。

将周期减少到可接受的限制或将请求分成几个较小的间隔。

POST v1/businesses/{businessId}/orders

Invalid incoming cis for item with id = %d for reason: {reason}

为订单中的产品传输了错误的标签代码。

检查传输的标记代码(cis)为非空且具有有效格式。

PUT v2/campaigns/{campaignId}/orders/{orderId}/identifiers PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Invalid order boxes layout request. Violations: {violations}

不正确的框布局请求。

根据违规列表更正布局并重复请求。 确保您没有将同一产品指定为同一个框中的不同对象;一个框不包含整个产品和商品的部分。

PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Invalid status for order 'orderId': 'status', PROCESSING expected

订单状态无效,挂起状态 PROCESSING.

仅对具有状态的数字订单使用该方法 PROCESSING. 你可以阅读更多关于处理数字订单的信息 分步说明.

POST v2/campaigns/{campaignId}/orders/{orderId}/deliverDigitalGoods

New delivery dates are the same as the current!

新的交货日期与当前的交货日期相同。

发送更改的交货日期。

PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date

No permission to set status 'newStatus' for order 'orderId' with status 'currentStatus'

不允许为具有当前状态的订单设置传输状态。

确保您正在尝试将订单转移到正确的状态。 有关如何处理您的位置类型的订单的详细说明,请参阅部分 分步说明.

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

No transition found: 'fromStatus' -> 'toStatus'

未找到状态之间的转换。

发送更改订单状态的正确状态。 有关如何处理您的位置类型的订单的详细说明,请参阅部分 分步说明.

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

Not a business buyer.

买方 — 不是法律实体。

使用获取买方信息的方法 — 个人 GET v2/campaigns/{campaignId}/orders/{orderId}/buyer.

POST v2/campaigns/{campaignId}/orders/{orderId}/business-buyer POST v2/campaigns/{campaignId}/orders/{orderId}/documents

Order creation start date is required to be less than end date

按结帐日期筛选订单的开始日期必须小于结束日期。

严格在结束之前设置周期的开始;如果需要,交换日期或调整其中一个日期。

POST v1/businesses/{businessId}/orders

Order is in the wrong status, it’s only possible starting from the status PROCESSING.

订单处于不适合的状态;只有在处理状态下才能进行操作。

确保已转移的订单处于状态 PROCESSING, DELIVERY, PICKUPDELIVERED.

POST v2/campaigns/{campaignId}/orders/{orderId}/business-buyer

Order is not in shop-processing status (actual: 'status').

订单不在商店处理的状态。

只有当订单处于状态时,您才能接收数据 PROCESSING, DELIVERYPICKUP.

GET v2/campaigns/{campaignId}/orders/{orderId}/buyer

Order shipment start date is required to be less than end date

按送货日期筛选订单到送货服务的开始日期必须小于结束日期。

严格在结束之前设置周期的开始;如果需要,交换日期或调整其中一个日期。

POST v1/businesses/{businessId}/orders

Order update start is required to be less than end date

按更新日期和时间筛选订单的开始日期必须小于结束日期。

严格在结束之前设置周期的开始;如果需要,交换日期或调整其中一个日期。

POST v1/businesses/{businessId}/orders

Order.id='orderId' is not digital.

传输的顺序不是数字的。

确保传输的订单是数字的。 此方法仅适用于处理数字订单。

POST v2/campaigns/{campaignId}/orders/{orderId}/deliverDigitalGoods

Real delivery date should be from order creation date to current date inclusively

实际交货日期必须从订单创建之日起到包括当前日期。

在从订单创建日期到当前日期(包括当前日期)的范围内指定实际交货日期。

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

Status change was forbidden for client role = 'role'

客户角色禁止更改订单状态。

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

Status not allowed: 'status'

不允许将订单转移到已转移状态。

检查传输的订单状态的正确性。 允许将订单转移到以下状态 PROCESSING, CANCELLED, DELIVERY, PICKUP, DELIVERED.

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

String (value) is not a valid country code according to ISO 3166-1 alpha-2

无效的国家代码。

以ISO3166-1alpha-2格式指定国家/地区代码。

PUT v2/campaigns/{campaignId}/orders/{orderId}/identifiers PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Transition 'fromStatus' -> 'toStatus' is not allowed. Reason: {reason}

将订单状态从当前更改为目标不可用。

确保您正在尝试将订单转移到正确的状态。 有关如何处理您的位置类型的订单的详细说明,请参阅部分 分步说明.

PUT v2/campaigns/{campaignId}/orders/{orderId}/status

Unrecognized vat: 'value': offerId = 'offerId'

未确认的增值税税率。

发送产品的正确增值税率。 您可以在方法页面上查看可接受的增值税Id。 POST v2/campaigns/{campaignId}/offer-prices/updates.

POST v2/campaigns/{campaignId}/offer-prices/updates

处理货件时的错误(FBS)

资料描述

翻译

怎么办

发生错误的方法

Closest shipment for reception transfer act generation not found.

状态的出货量 可以处理 没有找到。

创建采购订单或等待现有订单升级到所需状态。

GET v2/campaigns/{campaignId}/shipments/reception-transfer-act

Cutoff time for shipments has not been reached yet

确认货件的时间还没有到.

根据仓库时间表等待发货确认时间的开始,然后重试。 您可以使用以下方法检查发货确认 GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}:在可用的行动 availableActions 必须有行动 CONFIRM.

POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm

No orders for closest shipment have been processed yet (shipmentId: 'shipmentId').

下一批货没有订单.

检查订单是否有参数 status 这很重要 PROCESSING,而参数 substatusREADY_TO_SHIP. 您可以使用该方法获取订单的状态和发货日期 POST v1/businesses/{businessId}/orders,更改订单状态 — 使用方法 PUT v2/campaigns/{campaignId}/orders/{orderId}/statusPOST v2/campaigns/{campaignId}/orders/status-update.

GET v2/campaigns/{campaignId}/shipments/reception-transfer-act

Outbound with id = 'shipmentId' is not confirmed and hasn't draft transfer

装运尚未确认.

在收到验收证书之前,有必要确认装运。 为此,请使用以下方法 POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm.

GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/act

Shipment with ID 'shipmentId' contains invalid orders. Reasons: orders are in wrong status ('orderIds')

货件包含状态不正确的订单。

为了确认,装运必须只包含处于可接受状态的订单.: PROCESSING 具有子状态 READY_TO_SHIPSHIPPED,或 DELIVERY, DELIVERED, PICKUP. 将错误的订单转移到允许的状态或使用该方法将其转移到下一批货物 POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/orders/transfer 并重复确认。

POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm

Shipment with ID 'shipmentId' does not contain any orders

这批货没有一个订单.

向货件添加订单:将其设置为可接受状态。 然后重复确认。

POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm

Shipment with ID 'shipmentId' has been confirmed already

这批货已经确认了.

请勿重复发货确认。 要接收已确认货件的验收证书,请使用以下方法 GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/act.

GET v2/campaigns/{campaignId}/shipments/reception-transfer-act POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm

Some orders are in the process of being excluded from shipment (shipmentId: 'shipmentId', orderIds: 'orderIds'). Please wait up to 30 minutes and try again.

最近的货件中正在从中删除的订单id。

转移订单最多需要30分钟。 等待传输完成并重试。

GET v2/campaigns/{campaignId}/shipments/reception-transfer-act

Some orders have not been processed yet. Please change the status of orders to READY_TO_SHIP and try again. (shipmentId: 'shipmentId', orderIds: 'orderIds').

最近货件中尚未处理的订单id。

发送具有指定Id的订单 status: PROCESSINGsubstatus: READY_TO_SHIP 然后再试一次。 您可以使用查询更改订单状态 PUT v2/campaigns/{campaignId}/orders/{orderId}/statusPOST v2/campaigns/{campaignId}/orders/status-update.

GET v2/campaigns/{campaignId}/shipments/reception-transfer-act

处理价格时的错误

资料描述

翻译

怎么办

发生错误的方法

discountBase is less than value: offerId = 'offerId'

划掉的价格低于产品的当前价格。

设置划线价格不低于当前价格。 如果没有折扣 — 不要注明划掉的价格.

POST v2/campaigns/{campaignId}/offer-prices/updates

Duplicate offer in request: offerId = 'offerId'

请求中的重复产品。

检查转移物品的唯一性。

POST v2/campaigns/{campaignId}/offer-prices/updates

Missing offerId

缺少产品ID。

通过一个非空 offerId.

POST v2/campaigns/{campaignId}/offer-prices/updates

Missing price value: offerId = 'offerId'

缺少产品价格值。

传产品价格的价值。

POST v2/campaigns/{campaignId}/offer-prices/updates

Offer at index 'index' should have valid discount value. Discount percentage must be between 'min' and 'max', actual 'val'

产品具有无效的折扣值:折扣百分比必须从"最小"到"最大"。

指定可接受范围内的折扣百分比。

POST v2/businesses/{businessId}/offer-mappings/update POST v2/businesses/{businessId}/offer-prices/updates

Offer at index 'index' should not have 'fieldName' with 'currency' currency

为价格指定了不正确的货币。

以内阁货币发送价格。 您可以使用以下方法查看柜中的货币 GET v2/campaigns/{campaignId}/settings.

POST v2/businesses/{businessId}/offer-mappings/update POST v2/businesses/{businessId}/offer-prices/updates

Offer at index 'index' should not have 'fieldName' with too many digits

为字段传递的小数位数太多。

传递不超过7位小数的值。

POST v2/businesses/{businessId}/offer-mappings/update POST v2/businesses/{businessId}/offer-prices/updates

offerId = 'offerId' should have valid discount value. Discount percentage must be between min' and 'max', actual 'val'

产品具有无效的折扣值:折扣百分比必须从"最小"到"最大"。

指定可接受范围内的折扣百分比。

POST v2/campaigns/{campaignId}/offer-prices/updates

Unrecognized vat: 'value': offerId = 'offerId'

未确认的增值税税率。

发送产品的正确增值税率。 您可以在方法页面上查看可接受的增值税Id。 POST v2/campaigns/{campaignId}/offer-prices/updates.

POST v2/campaigns/{campaignId}/offer-prices/updates

Vat setting of 'vatName' ('vatId') not supported for current 'taxSystemName' ('taxSystemId') taxSystem: 'offerId'

现行税制不支持增值税税率。

使用您的税制/国家/地区支持的增值税税率。

POST v2/campaigns/{campaignId}/offer-prices/updates POST v2/campaigns/{campaignId}/offers/update

Vat setting of 'vatName' ('vatId') not supported since year 2019: 'offerId'

增值税税率自2019年以来一直不支持。

请勿使用不支持的18%费率。 为您的税制/国家指定当前支持的税率。

POST v2/campaigns/{campaignId}/offer-prices/updates POST v2/campaigns/{campaignId}/offers/update

使用产品时的错误

资料描述

翻译

怎么办

发生错误的方法

Duplicate offerId='offerId' at positions 'positions'

重复项目被转移。

确保传输列表中的产品是唯一的。

POST v2/campaigns/{campaignId}/hidden-offers

Offer at index 'index' should not have empty values in list of 'fieldName'

产品不能在列表中包含空值。

从"fieldName"列表中删除空项或将其替换为有效值。

POST v2/businesses/{businessId}/offer-mappings/update

Offer at index 'index' should have weightDimensions. greater than 0

包装的尺寸和产品的重量必须是正数。

发送包装尺寸和产品重量的正值。

POST v2/businesses/{businessId}/offer-mappings/update

Offers should have different ids. Following offers ids are repeating: 'offerIds'.

传输的项目必须是唯一的。

检查传输的产品Id的唯一性。

POST v2/businesses/{businessId}/offer-mappings/update

处理剩菜时的错误

资料描述

翻译

怎么办

发生错误的方法

Duplicate shop-sku 'sku' for warehouse 'count'

重复商店-仓库的sku。

检查传输值的唯一性 sku.

PUT v2/campaigns/{campaignId}/offers/stocks

Stock for 'sku' should not be in the future

今后不应提供关于其余项目的数据。

安装/安装 updatedAt 不迟于当前时刻。

PUT v2/campaigns/{campaignId}/offers/stocks

Stock for 'sku' should not be older than a day

产品的剩余数据不得超过一天。

在字段中输入更新的当前日期和时间(不超过24小时 updatedAt.

PUT v2/campaigns/{campaignId}/offers/stocks

使用销售点时的错误

资料描述

翻译

怎么办

发生错误的方法

Not valid outlet info: 'errors'

无效的销售点数据。

根据错误文本(地址,地区,开放时间,必填字段,值格式等)更正销售点的数据。)并重复请求。 字段的完整要求可以在相应方法的描述中找到。

POST v2/campaigns/{campaignId}/outlets PUT v2/campaigns/{campaignId}/outlets/{outletId}

Outlet with code 'shopOutletCode' already exists for campaign 'campaignId'

带有传输ID的销售点 shopOutletCode 它已经存在。

标识符的值 shopOutletCode 它必须在同一活动中是唯一的。

POST v2/campaigns/{campaignId}/outlets

Region 'regionName' cannot be used as outlet region

该区域不能用作销售点地址。

仅指定以下类型的区域 TOWN (城市), CITY (大城市)及 REPUBLIC_AREA (联邦主体的区域)。 区域类型在输出参数中指定 type 请求 GET v2/regionsGET v2/regions/{regionId}.

POST v2/campaigns/{campaignId}/outlets PUT v2/campaigns/{campaignId}/outlets/{outletId}

Wrong outlet gps coordinates

销售点的GPS坐标不正确。

指定格式的坐标:经度,纬度。 分隔符:逗号和/或空格。 例如, 20.4522144, 54.7104264.

POST v2/campaigns/{campaignId}/outlets PUT v2/campaigns/{campaignId}/outlets/{outletId}

处理类别时的错误

资料描述

翻译

怎么办

发生错误的方法

Category is not a leaf.

这个类别不是一个叶子.

使用叶类别(没有子项的类别)的ID。 要在市场上获得类别树,请使用该方法 POST v2/categories/tree.

POST v2/category/{categoryId}/parameters

Following categories are not leaf categories: 'categories'

传输的类别不是叶子类别。

使用叶类别(没有子项的类别)的Id。 要在市场上获得类别树,请使用该方法 POST v2/categories/tree.

POST v2/tariffs/calculate

Unknown categories: 'categories'

已传送未知类别。

检查传输的类别Id是否正确。 要找出您感兴趣的产品所属类别的ID,请使用请求 POST v2/categories/tree.

POST v2/tariffs/calculate

处理股票时的错误

资料描述

翻译

怎么办

发生错误的方法

Promo has ended

促销结束了。

检查传输的股票ID的正确性。

POST v2/businesses/{businessId}/promos/offers) POST v2/businesses/{businessId}/promos/offers/update POST v2/businesses/{businessId}/promos/offers/delete

The limit for promo update requests with a single offerId has been exceeded. Please wait or use batch requests with multiple offerIds for the same promoId.

已超过每个请求更新一个产品促销的请求限制。

等待并稍后重试,或使用列表中包含多个项目的查询。 offers 为了同样的促销。

POST v2/businesses/{businessId}/promos/offers/update POST v2/businesses/{businessId}/promos/offers/delete

报告和文件中的错误

资料描述

翻译

怎么办

发生错误的方法

Contract with type MARKETING was signed with the agency

营销合同已与该机构签订。

有关结案文件的信息,请与贵机构联系.

POST v2/reports/closure-documents/detalization/generate

Date field 'dateFieldTo' must be greater or equal to 'dateFieldFrom'!

间隔的结束日期必须至少是开始日期。

设置周期结束不早于开始;调整日期或在必要时交换它们。

POST v2/campaigns/{campaignId}/stats/orders

Only default prices are used for this business. Generate the report at the business level (not campaign) to see actual prices.

这款机柜只使用统一的机柜价格.

创建业务级报表(而不是营销活动)。 要检查是否启用了商店价格,请使用参数 onlyDefaultPrice 在方法 POST v2/businesses/{businessId}/settings.

POST v2/reports/goods-prices/generate

Periods "orderDate" and "orderUpdate" can't be specified simultaneously!

您不能在同一时间按订单形成日期和更改日期指定期间。

只指定一个期间:按成立日期或修改日期.

POST v2/campaigns/{campaignId}/stats/orders

处理产品评论时的错误

资料描述

翻译

怎么办

发生错误的方法

Duplicate comment.

已经有这个文本的评论。

不要发送与现有评论匹配的评论。

POST v2/businesses/{businessId}/goods-feedback/comments/update

Illegal url in comment text.

在评论文本中找到了指向第三方资源的链接。

删除链接,如有必要,添加那些通向市场的链接。

POST v2/businesses/{businessId}/goods-feedback/comments/update

401未经授权的错误

资料描述

翻译

怎么办

发生错误的方法

Api-Key token is invalid

Api-Key-令牌无效。

检查拼写 Api-Key-令牌。 如果错误仍然存在,请获取新令牌。 怎么做

它在所有方法中找到。

Api-Key token is not specified

请求没有指定 Api-Key-令牌。

传下去 Api-Key-标题中的标记 Api-Key指示说明.

它在所有方法中找到。

Api-Key token length invalid

长度不正确 Api-Key-令牌。

检查拼写 Api-Key-令牌。 如果错误仍然存在,请获取新令牌。 怎么做

它在所有方法中找到。

Api-Key token prefix invalid

前缀不正确 Api-Key-令牌。

确保在标头中不使用前缀。 Bearer. 如何传送 Api-Key-令牌

如果没有前缀,请检查拼写。 Api-Key-令牌。 如果错误仍然存在,请获取新令牌。 怎么做

它在所有方法中找到。

Api-Key token format invalid

格式不正确 Api-Key-令牌。

检查拼写 Api-Key-令牌。 如果错误仍然存在,请获取新令牌。 怎么做

它在所有方法中找到。

Api-Key token is revoked

Api-Key-令牌已被删除。

获得一个新的令牌。 怎么做

它在所有方法中找到。

Authorization header has invalid syntax

HTTP头格式 Authorization 不正确。

通过以下方式制作标题 指示说明.

它在所有方法中找到。

Credentials are not specified

请求中未指定授权数据。

根据说明制作标题:

它在所有方法中找到。

OAuth client id is not specified

请求未指定OAuth客户端ID(client_id).

指定 client_id 标题中的应用程序 oauth_client_id.

它在所有方法中找到。

OAuth credentials are not specified

请求中未指定授权数据。

做一个标题 Authorization指示说明.

它在所有方法中找到。

OAuth token is not specified

请求未指定OAuth授权令牌。

做一个标题 Authorization指示说明.

它在所有方法中找到。

403禁止的错误

资料描述

翻译

怎么办

发生错误的方法

Access denied

访问被拒绝。

检查是否正确指定了资源,以及在请求中使用其授权令牌的用户是否具有对其的访问权限。 有关access的更多信息

它在所有方法中找到。

Access denied for business 'businessId' because it is not active

由于[帐户不活动],该方法不可用(*inactiv-business).

修复阻止商品退回展柜的错误。 如果您需要API访问权限,请联系客户支持。 — 前往 卖方在市场上的帐户 然后按下按钮 创建上诉.

它在所有方法中找到。

Access denied for campaign 'campaignId' because it is not active

由于[存储不活动],该方法不可用(*inactiv-campaign).

使用API的选项显示参数 apiAvailability 回应要求:

修复阻止商品退回展柜的错误。 如果您需要API访问权限,请联系客户支持。 — 前往 卖方在市场上的帐户 然后按下按钮 创建上诉.

它在所有方法中找到。

Client id is invalid

指定了无效的OAuth客户端ID(client_id).

指定 oauth_client_id 发出令牌的相同应用程序,或将令牌重新发出给所需的客户端。

它在所有方法中找到。

Contact not found for login 'login' and campaignId 'campaignId'

未找到其登录名已发送以签署电子验收证书的用户帐户。

选择链接到帐户或商店的用户的用户名。

它在所有方法中找到。

Contacts with available roles for signing not found for login 'login'

其登录被转移以签署电子接受证书的用户帐户不具有必要的访问权限。

提供链接到帐户或商店并具有必要访问权限的用户的用户名。 软件方法的访问Api-Key

它在所有方法中找到。

Electronic signature is only available for API token authorization.

电子签名只有在获得授权时才可用 Api-Key.

通过授权提出请求 Api-Key. 如何传送 Api-Key: 手册.

GET v2/campaigns/{campaignId}/shipments/reception-transfer-act
POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm

No access to campaigns: 'campaigns'

无法访问指定的商店。

仅发送属于指定帐户的广告系列(businessId).

它在所有方法中找到。

No access to comment modifying.

没有编辑指定注释的权限。

检查传输的评论ID的正确性。

POST v2/businesses/{businessId}/goods-feedback/comments/update

No access to feedback modifying.

没有权限修改指定的审核。

检查传送的审查ID的正确性。

POST v2/businesses/{businessId}/goods-feedback/comments/update

OAuth token is invalid

指定的OAuth授权令牌无效。

获得一个新的令牌。 怎么做

它在所有方法中找到。

OAuth token is invalid (account has been globally logged out)

用户使用的功能 "到处出去" 在Yandex的ID。

获得一个新的令牌。 怎么做

它在所有方法中找到。

Scope is invalid

OAuth令牌是通过应用程序获得的,没有进入市场。

获得一个新的令牌。 怎么做

它在所有方法中找到。

The method is deprecated and is occasionally forbidden. Please stop using it

该方法已经过时,并且对其的一些请求被拒绝。 不要用它。

切换到文档中指定的当前方法。 错误将返回给继续调用过时方法的集成;此类响应的比例会随着时间的推移而增加。

它在所有方法中找到。

The method is not supported for Market Yandex Go sellers

此方法不适用于Yandex Go市场卖家。

这些限制在方法的描述中指定。

它在所有方法中找到。

The partner does not have access to the supply request.

合作伙伴无权访问交付请求。

检查传输的应用程序ID的正确性。

POST v2/campaigns/{campaignId}/supply-requests/documents POST v2/campaigns/{campaignId}/supply-requests/items

Token does not have any of the scopes to access the API method

无法访问该方法。

获取对错误文本中列出的至少一组方法的访问权限。 怎么做

它在所有方法中找到。

User account is disabled

将阻止为其颁发指定授权令牌的用户的帐户。

联系客户支持。

它在所有方法中找到。

404未找到错误

资料描述

翻译

怎么办

发生错误的方法

Box not found. Box: 'boxId'

未找到请求中指定的框。

检查传输的盒子ID是否正确。

GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/shipments/{shipmentId}/boxes/{boxId}/label

Campaign not found 'campaignId'

未找到请求中指定的活动。

检查传输的广告系列ID是否正确。

它被发现在所有内阁方法。

Can't find chat by id: 'chatId'

未找到请求中指定的聊天。

检查传输的聊天ID的正确性。

GET v2/businesses/{businessId}/chats/message
POST v2/businesses/{businessId}/chats/message
POST v2/businesses/{businessId}/chats/history

Can't find message by id: 'messageId' for chat 'chatId'

在传输的聊天中未找到请求中指定的消息。

检查传输的消息和聊天Id的正确性。

GET v2/businesses/{businessId}/chats/message

Failed to find ['resource'] with id ['id']

未找到请求中指定的资源。

检查传输的资源标识符(订单或装运)的正确性。

GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId} GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/act POST v2/campaigns/{campaignId}/orders/{orderId}/delivery/track GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/orders/info GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/transportation-waybill PUT v2/campaigns/{campaignId}/orders/{orderId}/verifyEac
PUT v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/pallets
GET v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/pallet/labels
POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/orders/transfer

Failed to find order with id 'orderId'

未找到请求中指定的顺序。

检查传输的订单ID的正确性。

PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes

Feedbacks not found.

未找到请求中指定的评论。

检查传输的审核Id是否正确。

POST v2/businesses/{businessId}/goods-feedback/comments/update

Grade not found.

没有找到审查。

检查传送的审查ID的正确性。

POST v2/businesses/{businessId}/goods-feedback/comments/update

No boxes found for order 'orderId'

未找到请求中指定的订单的框。

检查传输的订单ID的正确性。 确保您提供了有关货物如何在盒子中分配的信息。 为此,请使用以下方法 PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes.

GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/shipments/{shipmentId}/boxes/{boxId}/label GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/labels GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/labels/data

Order not found: 'orderId'

未找到请求中指定的顺序。

检查传输的订单ID的正确性。

PUT v2/campaigns/{campaignId}/orders/{orderId}/status POST v2/campaigns/{campaignId}/orders/{orderId}/deliverDigitalGoods PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/storage-limit POST v2/businesses/{businessId}/chats/new POST v2/campaigns/{campaignId}/orders/{orderId}/external-id

Order not found: partnerId = 'partnerId', orderId = 'orderId'

未找到请求中指定的顺序。

检查传输的订单ID的正确性。

GET v2/campaigns/{campaignId}/orders/{orderId} PUT v2/campaigns/{campaignId}/orders/{orderId}/status GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/shipments/{shipmentId}/boxes/{boxId}/label GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/labels GET v2/campaigns/{campaignId}/orders/{orderId}/delivery/labels/data POST v2/campaigns/{campaignId}/orders/{orderId}/deliverDigitalGoods GET v2/campaigns/{campaignId}/orders/{orderId}/buyer PUT v2/campaigns/{campaignId}/orders/{orderId}/cancellation/accept PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date PUT v2/campaigns/{campaignId}/orders/{orderId}/identifiers POST v2/campaigns/{campaignId}/orders/{orderId}/business-buyer POST v2/campaigns/{campaignId}/orders/{orderId}/documents POST v2/campaigns/{campaignId}/orders/{orderId}/external-id POST v2/campaigns/{campaignId}/orders/{orderId}/identifiers/status

Outlet not found: 'outletId'

未找到请求中指定的销售点。

检查传输的销售点标识符的正确性。

GET v2/campaigns/{campaignId}/outlets/{outletId} DELETE v2/campaigns/{campaignId}/outlets/{outletId} PUT v2/campaigns/{campaignId}/outlets/{outletId}

Region 'regionId' not found.

未找到请求中指定的区域。

检查传输的区域ID是否正确。 要获取所有可用区域的列表,请使用引用方法 GET v2/regions

GET v2/regions/{regionId}
GET v2/regions/{regionId}/children

Report not found.

未找到请求中指定的报告或文档。

检查报告或文档的传输ID的正确性。

GET v2/reports/info/{reportId}

Resource not found

找不到资源。

  • 检查准确性 URL 和HTTP方法,它们可以在方法页面的文档中查看。
  • 确保您使用的是正确版本的方法。

了解有关调用方法的详细信息

它在所有方法中找到。

Return 'returnId' for order 'orderId' is not found

未找到请求中指定的退款。

检查传输的退款和订单Id的正确性。

GET v2/campaigns/{campaignId}/orders/{orderId}/returns/{returnId} POST v2/campaigns/{campaignId}/orders/{orderId}/returns/{returnId}/decision POST v2/campaigns/{campaignId}/orders/{orderId}/returns/{returnId}/decision/submit

Shipment with ID 'shipmentId' not found

未找到请求中指定的装运。

检查传送的货件ID的正确性。

POST v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/confirm

Supply request not found.

未找到该应用程序。

检查传输的应用程序ID的正确性。

POST v2/campaigns/{campaignId}/supply-requests/documents POST v2/campaigns/{campaignId}/supply-requests/items

Unknown category

未知类别。

检查传输的类别ID是否正确。 要找出您感兴趣的产品所属类别的ID,请使用请求 POST v2/categories/tree.

POST v2/category/{categoryId}/parameters

错误405方法不允许

资料描述

翻译

怎么办

发生错误的方法

Request method 'method' not supported

不支持请求的HTTP方法。

检查资源支持的方法。

它在所有方法中找到。

错误415不支持的媒体类型

资料描述

翻译

怎么办

发生错误的方法

Content type 'content-type' not supported

不支持请求的内容类型。

传输所支持的内容类型之一。

它在所有方法中找到。

Unknown content-type: 'content-type'

请求的内容类型 — 未知。

传输所支持的内容类型之一。

它在所有方法中找到。

错误420增强你的冷静

资料描述

翻译

怎么办

发生错误的方法

Hit rate limit of 'N' parallel requests

超过了同时向 Yandex Market API 对于卖家。 这是什么

减少单个机柜或存储中的并行API请求数量,以 N 请求。

它在所有方法中找到。

Hit rate limit of 'N' requests per 'period' for resource 'R'

超过资源限制的数目 N 资源请求 R 期间 period 对于同一个办公室或商店。 这是什么

时间限制在标题中指定。 X-RateLimit-Resource-Until. 该资源的使用将在指定时间之后成为可能。

它在所有方法中找到。

错误423锁定

资料描述

翻译

怎么办

发生错误的方法

Business is in migration

商店迁移正在内阁中进行。

等待传输完成。

POST v2/businesses/{businessId}/offer-cards/update POST v2/campaigns/{campaignId}/offer-prices/updates POST v2/businesses/{businessId}/offer-prices/updates POST v2/businesses/{businessId}/price-quarantine/confirm POST v2/campaigns/{campaignId}/price-quarantine/confirm POST v2/campaigns/{campaignId}/offers/update POST v2/campaigns/{campaignId}/offers/delete POST v2/businesses/{businessId}/offer-mappings/update POST v2/businesses/{businessId}/offer-mappings/archive POST v2/businesses/{businessId}/offer-mappings/unarchive POST v2/businesses/{businessId}/offer-mappings/delete POST v1/businesses/{businessId}/offer-mappings/barcodes/generate POST v2/campaigns/{campaignId}/offer-mapping-entries/updates POST v2/businesses/{businessId}/promos/offers/update POST v2/businesses/{businessId}/promos/offers/delete

Campaign is in business migration

商店正在转移到另一个帐户。

等待传输完成。

GET v2/campaigns/{campaignId}/hidden-offers POST v2/campaigns/{campaignId}/hidden-offers/delete

Partner use only default price

橱柜使用所有商店的价格。

您将无法为单独的商店设置价格。 为橱柜中的所有商店设置统一的价格。

POST v2/campaigns/{campaignId}/offer-prices/updates

错误499客户端关闭请求

当客户端在市场端完成请求处理之前关闭连接时,会返回错误。 在客户端检查超时设置和请求重播策略并重复调用。

错误500内部服务器错误

等待一段时间,然后再次调用该方法。 如果问题仍然存在,请联系客户支持。 — 前往 卖方在市场上的帐户 然后按下按钮 创建上诉.

503服务不可用错误

资料描述

翻译

怎么办

发生错误的方法

Service temporarily unavailable. Please, try again later

由于高负载,服务器暂时不可用.

尝试在一段时间后重复请求。

如果问题仍然存在,请联系客户支持。 — 前往 卖方在市场上的帐户 然后按下按钮 创建上诉.

它在所有方法中找到。

错误消息示例

请求:

GET /campaigns/10003/orders HTTP/1.1
Host: api.partner.market.yandex.ru
Accept: */*
Api-Key: ACMA:I4c4CxCSYaI41RSC2uYWP2qj3Rhhm4knMiBEga5K:151c0664a

回答:

{
  "errors": [
    {
      "code": "UNAUTHORIZED",
      "message": "Api-Key token is invalid"
    }
  ],
  "status": "ERROR"
}

该商店被禁用,因为它没有在展柜中放置产品超过90天。

橱柜里没有一个活跃的商店.

该商店被禁用,因为它没有在展柜中放置产品超过90天。

办公室的所有商店都被禁用,因为他们没有在窗口放置商品超过90天。

上一篇