在广告管理中,直接配置好了回调,然后自动生成的 uniAdCallback 云函数,按文档配置后,查看广告有日志,但是有报错,没有走回调接口
云函数日志如下:
[uniAdCallback/ac1cc31d1724662577157123750/769ms/ERROR] Cannot read property 'value' of undefined
TypeError: Cannot read property 'value' of undefined
at CacheKey.get (/tmp/function/@common_modules/uni-open-bridge-common/uni-cloud-cache.js:236:28)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async SessionKey.get (/tmp/function/@common_modules/uni-open-bridge-common/storage.js:24:20)
at async Encryptkey.getByWeixinServer (/tmp/function/@common_modules/uni-open-bridge-common/index.js:113:25)
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:78208)
at async mp-weixin.decryptEvent (/tmp/function/index.js:1:79430)
at async mp-weixin.getEvent (/tmp/function/index.js:1:15882)
at async Me (/tmp/function/index.js:1:84863)
[uniAdCallback/ac1cc31d1724662577157123750/769ms/ERROR] {
errCode: 50000,
errMsg: "Cannot read property 'value' of undefined",
code: 50000,
message: "Cannot read property 'value' of undefined",
errSubject: 'uni-secure-network',
cause: undefined
}
uni appid为: UNID7A0605
jikeshuju (作者)
OK了,感谢指导
2024-08-27 10:06
t***@gmail.com
回复 d***@jikeshuju.cn: 请问具体要怎么设置,遇到同样问题。
2024-09-14 03:35
DCloud_uni-ad_HDX
回复 t***@gmail.com: 使用IM私信 https://im.dcloud.net.cn/#/?user_id=4f1d4970-49fb-11e9-a377-2b047904461e
2024-09-18 10:54