"action": "add",
"requestdomain": ["https://devserviceapi.ecombird.com"],
"wsrequestdomain": ["wss://devserviceapi.ecombird.com"],
"uploaddomain": ["https://devserviceapi.ecombird.com"],
"downloaddomain": ["https://devserviceapi.ecombird.com"]
}Array( [errcode] => 61007 [errmsg] => api is unauthorized to component rid: 5f70578e-514db714-2ec6dd43)
是权限设置吗?
你好,经查询该小程序APPID:wx38ad1c517d09c72a尚未授予开发管理与数据分析权限(权限集id为18)的权限给该第三方平台APPID:wx6c64ca98eaf0195e。后续遇到unauthorized相关问题可以先通过检查下该公众号/小程序是否已经给第三方平台授予了该接口对应的权限集。可通过调用api_get_authorizer_info接口查询,返回的func_info中是否包含了对应的权限id,
补充1,api_get_authorizer_info接口文档请查看:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/api_get_authorizer_info.html
补充2,权限集说明文档请参考:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Before_Develop/third_party_authority_instructions.html
{ "action": "add", "requestdomain": ["https://devserviceapi.ecombird.com"], "wsrequestdomain": ["wss://devserviceapi.ecombird.com"], "uploaddomain": ["https://devserviceapi.ecombird.com"], "downloaddomain": ["https://devserviceapi.ecombird.com"] }Array ( [errcode] => 85017 [errmsg] => no domain to modify after filtered, please confirm the domain has been set in miniprogram or open rid: 5f717f64-7da55be5-1073107e )
string(64) " api is unauthorized to component rid: 5f8ebaa4-39101676-70e5697e "