微信返回码 61011 invalid component hint 错误是什么原因?
发布于 5 年前 作者 yong63 2114 次浏览 来自 问答

第三方平台开发,获取ticket后请求token,返回61011 invalid component hint,查不到这个错误具体是什么意思。

调用接口:POST https://api.weixin.qq.com/cgi-bin/component/api_component_token

返回信息如下:

"result":{
  "data":{
    "errcode":61011,
    "errmsg":"invalid component hint: [gFWTMA0060d425]"
  },
  "status":200,
  "headers":{
    "connection":"keep-alive",
    "content-type":"application/json; encoding=utf-8",
    "date":"Wed, 15 Jan 2020 10:44:20 GMT",
    "content-length":"69"
  },
  "res":{
    "status":200,
    "statusCode":200,
    "statusMessage":"OK",
    "headers":{
      "connection":"keep-alive",
      "content-type":"application/json; encoding=utf-8",
      "date":"Wed, 15 Jan 2020 10:44:20 GMT",
      "content-length":"69"
    },
    "size":69,
    "aborted":false,
    "rt":191,
    "keepAliveSocket":false,
    "data":{
       "errcode":61011,
       "errmsg":"invalid component hint: [gFWTMA0060d425]"
    },
    "requestUrls":["https://api.weixin.qq.com/cgi-bin/component/api_component_token"],
    "timing":null,
    "remoteAddress":"101.227.162.120",
    "remotePort":443,
    "socketHandledRequests":1,
    "socketHandledResponses":1
  }
}

这个错误到底是什么原因引起的呢?
1 回复

无效的组件。

回到顶部