快工助手跨境电商知识与商机助手

Why does it return "Wrong sign" error?

Shopee 官方资料 · Shopee Open Platform 常见问题(FAQ) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.faq
语言
en
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/help_centertopic/apitopic/debuggingtopic/developertopic/faqtopic/general-question-troubleshooting

资料正文

§1 Why does it return "Wrong sign" error?

Why does it return "Wrong sign" error?

In this case, please check the following:

  1. Is the environment to which the "partner_id" and the "partner_key" belong the same as the one to which this API belongs?

  2. Is the timestamp used in the calculation of "sign" the same as the "timestamp" used in the API call query URL?

  3. Was the base string composed in the correct way?

Currently, there are three types of APIs that need different common parameters for generating "sign" (the common parameters required for each API will depend on its API type):

  • Shop APIs: APIs with the common parameters including "partner_id", "timestamp", "access_token", "shop_id" and "sign" are called Shop APIs.
  • Merchant APIs: APIs with the common parameters including "partner_id", "timestamp", "access_token", "merchant_id" and "sign" are called Merchant APIs.
  • Public APIs: APIs with the common parameters including "partner_id", "timestamp" and "sign" are called Public APIs.
#