小程序
小游戏
企业微信
微信支付
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
待楼主反馈
可以了解下小程序接口测试号:https://mp.weixin.qq.com/wxamp/sandbox?doc=1
你好,用xweb调试查看下
因为这个接口只能打开小程序,微信小店不是小程序。只能使用store-product组件去打开。
校验下域名:https://myssl.com/ssl.html,看看报什么错。
日志内容 Request ID: ac9a8826-9d3e-443f-91dc-aaaa3216577a
执行时间: 285ms内存使用: 24.92 MB
返回结果
{"delivered":[],"errMsg":"用户1: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101 (-1); 用户2: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101 (-1)"}
日志
Init Report RequestId: ac9a8826-9d3e-443f-91dc-aaaa3216577a Coldstart: 663ms (InitRuntime: 18ms InitFunction: 645ms) Memory: 256MB MemUsage: 25.04MB
START RequestId: ac9a8826-9d3e-443f-91dc-aaaa3216577a
Event RequestId: ac9a8826-9d3e-443f-91dc-aaaa3216577a
2025-12-04T16:39:09.643Z [Service被桩] 调用generateArgot函数
2025-12-04T16:39:09.680Z [Service被桩] 生成暗语: 天王盖地虎 / 宝塔镇河妖
2025-12-04T16:39:09.904Z 微信订阅消息发送失败: CloudSDKError: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101
at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:487:27)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2364:28)
at async sendSubscribeMessage (/var/user/dataAccess/real.js:26:20)
at async Promise.all (index 0)
at async exports.main (/var/user/index.js:40:32) {
errCode: -604101,
errMsg: 'system error: error code: -604101'
}
2025-12-04T16:39:09.923Z 微信订阅消息发送失败: CloudSDKError: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101
at async Promise.all (index 1)
2025-12-04T16:39:09.923Z 发送结果: {
result1: {
errcode: -1,
errmsg: 'errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101'
},
result2: {
Response RequestId: ac9a8826-9d3e-443f-91dc-aaaa3216577a RetMsg: {"delivered":[],"errMsg":"用户1: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101 (-1); 用户2: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101 (-1)"}
END RequestId: ac9a8826-9d3e-443f-91dc-aaaa3216577a
Report RequestId: ac9a8826-9d3e-443f-91dc-aaaa3216577a Duration: 285ms Memory: 256MB MemUsage: 24.917969MB
2. 以下是云函数运行环境的项目权限配置截图
[图片]
参考:https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html
以及其它组件的自定义事件在每个组件的文档通用属性里有详细说明
企业微信相关问题请到企业微信社区咨询 https://developer.work.weixin.qq.com/community/question
iOS白屏,大概率99%是ssl的问题,还有就是阿里的oss可能不支持在微信环境打开~
你好,请勿使用移动应用的token调用小程序接口
偶现,还不是必现
暂无个人介绍
发布文章
0
回答
关注者
多端应用开发系列课程
本课程从实践角度,从0开始完成多端应用的开发和上线过程,并介绍一些必要的细节指引,帮助开发者能够轻松开始,课程内容会根据产品演进持续更新。
提出问题
接入使用过程中遇到的疑问
发表文章
开发、运营、产品设计相关实战经验及案例分享