stable本次发布有变化全部展示
来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Summary
To help developers identify and handle errors better, we've refined several ambiguous error codes by either splitting them into more precise error codes, or replacing them with more appropriate error codes. These changes provide clearer context on what went wrong. The error conditions remain the same, only the codes associated with them have changed for clarity.
§2 Impact
| Impacted market(s) | All |
| Impacted version(s) | 202309 (and later) |
§3 What is changing?
| Original error code | Original scenario | Newly assigned error code | Newly assigned scenario | Affected endpoints |
|---|---|---|---|---|
| 12052032 | The product does not exist | No change in code | The product does not exist. Nonexistent product ID(s): id1, id2, ... | All relevant endpoints |
| 12052030 | The product ID is required | Edit Product Activate Product Deactivate Products | ||
| 12052487 | The product information is empty. Either omit it entirely, or provide all required details. | Create Product Edit Product Partial Edit Product | ||
| 12052031 | Invalid product ID(s) found: id1, id2, ... | Edit Product Partial Edit Product Activate Product Deactivate Products | ||
| 12052097 | The warehouse does not exist | No change in code | The warehouse does not exist. Nonexistent warehouse ID(s): id1, id2, ... | All relevant endpoints |
| 12052096 | Unable to update the price for SKUs with no warehouse. Assign a warehouse and try again. Unassigned SKU(s): id1, id2, id... | Update Price | ||
| 12019016 | Seller warehouse is invalid | 12052531 | The warehouse 0011 is disabled. | Create Product Edit Product Partial Edit Product |
| 12052531 | Warehouse unavailable | No change in code | The warehouse 0011 is disabled. | All relevant endpoints |
| 12052096 | Unable to update the price for SKUs with no warehouse. Assign a warehouse and try again. Unassigned SKU(s): id1, id2, id... | Create Product Edit Product Partial Edit Product | ||
| 12052403 | The warehouse 0011 does not support fulfillment for the current shop. | Create Product Edit Product Partial Edit Product | ||
| 12052902 | SKU is invalid | No change in code | The SKU list is empty. Either omit the list entirely, or provide all required details. | All relevant endpoints |
| 12052486 | Inventory is required for all SKUs. | Create Product Edit Product Partial Edit Product Update Inventory | ||
| 12052571 | Missing price for SKU(s): id1, id2, ... | Edit Product Partial Edit Product | ||
| 12052533 | Warehouse changes when product receives updates | No change in code | Removal, addition, and change of warehouses are not permitted. Please specify the original warehouses for the SKUs: id1, id2, ... | All relevant endpoints |
| 12052094 | No multiple warehouse permission | Update Global Inventory |
§4 What action is required?
Review your error handling logic to check if your integrations rely on any of the affected error codes. If needed, update your logic to support the new error codes to maintain consistent functionality. Refer to the respective API Reference documentation for details.
