跳转到内容

wrong_environment

401 · 密钥与环境不匹配

测试密钥用于正式环境,或正式密钥用于测试环境。

  • ga_live_ 密钥用于正式环境 https://api.ga-oms.com。
  • ga_test_ 密钥只能用于测试环境。
  • detail 会说明该密钥适用的环境。
{
"type": "https://developers.ga-oms.com/errors/wrong_environment",
"title": "Key from the other environment",
"status": 401,
"code": "wrong_environment",
"detail": "…",
"request_id": "req_01JCX7M4Z9Q8R6T5V3W2Y1N0AB"
}

全部代码见错误处理。