请求入参: {
"args": {
"content": "7dx/M0Ka07mtqsL47kE5HXFZQFafWvVeNVY+A36KUUXRfNamKueyjDyRDhzuYMCOrMGAz5KP6vFA2rhuNvSafnSWhCBuR72LauTo+HTLyh2ssmMHsZfehbabDiwMP1hcXEsNJna4OKyW5D83K1MDhrc/qsYrxMBQfqCE0CO38t5+D9/otRirn29slh6QoLOmn9ytZNC+1I4xRWxReo+8PQGUfLb/WrqgkMK4IjmIHZ26iDafaXzU9Djv7MOAVV6wPRVBI4EyL/5Miihzma901pH0vczk8TQMQl3dOAPMLcpKANoIWWr1GP12d6gAmKfWvuMBo39BLZDdAOP4QQrxeTuaj8m/CMfYQg6yrTRuyiMLeg5DfsPn3hQ5tmupuKwiSfWP4IsoC6hKN2s8Pi275C6ddgrK5ivK9PXrl2VJ/X+TYiEnkZAkmD0YTM7qYIzs6DraCAQq+VSvpAp2hFUy36/wNMiqb0MV7lXiqLkuBd1IjEtSyK8pnUy6tNd/xksetQYvBxxpu8yVfkhOjDyYuyBgHfvqOoFebdV8FnHrUw4=",
"_uniCloudOptions": {
"secretType": "both",
"encryptKeyId": 3,
"mpWeixinOpenid": "oEcBh18cQ9fbAO8wc_OGi-wB7xtI"
},
"clientInfo": {
"PLATFORM": "mp-weixin",
"OS": "android",
"APPID": "UNI458B95E",
"DEVICEID": "17640575392292424537",
"scene": 1001,
"appName": "实物萌兑铺",
"appId": "UNI458B95E",
"appVersion": "1.0.0",
"appVersionCode": "100",
"appLanguage": "zh-Hans",
"hostVersion": "8.0.64",
"hostName": "WeChat",
"uniPlatform": "mp-weixin",
"uniCompilerVersion": "4.85",
"uniRuntimeVersion": "4.85",
"deviceId": "17640575392292424537",
"deviceType": "phone",
"deviceBrand": "oneplus",
"deviceModel": "KB2000",
"osName": "android",
"osVersion": "14",
"locale": "zh-Hans",
"LOCALE": "zh-Hans"
}
},
"requestId": "ac1cd3991764225745272198515"
}
[uniAdCallback/ac1cd3991764225745272198515/180ms/DEBUG] 98_znGMZFccjCefSUA1WWpZcVWBcmzsFVQ_rL5szgIE4dxqmDFqTZ5AUdIwEeAi97ctpbN1CYXAjofAzt4M6OU9vhfEQN5mRl34UA9x1QLEbc2I6vbuPgpfFy660SgVKShABAPEM oEcBh18cQ9fbAO8wc_OGi-wB7xtI PolGB6fitTDEt1RDzMdFHA==
[uniAdCallback/ac1cd3991764225745272198515/602ms/DEBUG] WeixinServer::response {
data: {
errcode: 87009,
errmsg: 'invalid signature rid: 6927f2d2-08b4e853-3badfe10',
key_info_list: []
},
status: 200,
headers: {
connection: 'keep-alive',
'content-type': 'application/json; charset=UTF-8',
'content-length': '97'
},
res: {
status: 200,
statusCode: 200,
statusMessage: 'OK',
headers: {
connection: 'keep-alive',
'content-type': 'application/json; charset=UTF-8',
'content-length': '97'
},
size: 97,
aborted: false,
rt: 421,
keepAliveSocket: false,
data: {
errcode: 87009,
errmsg: 'invalid signature rid: 6927f2d2-08b4e853-3badfe10',
key_info_list: []
},
requestUrls: [ 'https://api.weixin.qq.com/wxa/business/getuserencryptkey' ],
timing: null,
remoteAddress: '101.89.47.18',
remotePort: 443,
socketHandledRequests: 1,
socketHandledResponses: 1
}
}
[uniAdCallback/ac1cd3991764225745272198515/606ms/ERROR] invalid signature rid: 6927f2d2-08b4e853-3badfe10
Error: invalid signature rid: 6927f2d2-08b4e853-3badfe10
at Function.WeixinServer.GetResponseData (/tmp/function/@common_modules/uni-open-bridge-common/weixin-server.js:151:11)
at Function.WeixinServer.GetUserEncryptKeyData (/tmp/function/@common_modules/uni-open-bridge-common/weixin-server.js:169:23)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Encryptkey.getByWeixinServer (/tmp/function/@common_modules/uni-open-bridge-common/index.js:115:26)
at async CacheKey.get (/tmp/function/@common_modules/uni-open-bridge-common/uni-cloud-cache.js:235:28)
at async Encryptkey.get (/tmp/function/@common_modules/uni-open-bridge-common/storage.js:24:20)
at async mp-weixin.getEncryptKey (/tmp/function/index.js:1:78561)
at async mp-weixin.decryptEvent (/tmp/function/index.js:1:79783)
at async mp-weixin.getEvent (/tmp/function/index.js:1:16234)
at async $e (/tmp/function/index.js:1:85275)
[uniAdCallback/ac1cd3991764225745272198515/606ms/ERROR] {
errCode: 87009,
errMsg: 'invalid signature rid: 6927f2d2-08b4e853-3badfe10',
code: 87009,
message: 'invalid signature rid: 6927f2d2-08b4e853-3badfe10',
errSubject: 'uni-secure-network',
cause: undefined
}
请求响应状态: success
1***@163.com
- 发布:2025-11-27 15:11
- 更新:2025-11-27 16:16
- 阅读:26
2 个回复
Ask小助手
根据日志信息,您遇到的是uniAdCallback签名验证失败问题,错误码87009(微信接口返回的签名无效错误)。
原因分析:
解决方案:
uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json中的微信配置,确保appid和appsecret正确特别提醒:修改配置后需重新编译并发布前端页面。如仍无法解决,请检查微信公众平台的数据加密设置是否正确,参考uni-id配置文档。
1***@163.com (作者)
原因是sessionKey过期了 , 但客户端uni.checkSession() , 并没有检测出来 , 这怎么弄
要回复问题请先登录或注册
公告
更多>相关问题