小程序订阅消息给同一个用户只能发送成功一次

小程序 文章 2022-02-17 15:40 1249 0 全屏看文

AI助手支持GPT4.0

小程序订阅消息给同一个用户只能发送成功一次The applet subscription message can only be successfully sent once to the same user

小程序订阅消息给同一个用户只能发送成功一次
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug subscribeMessage.send 微信iOS客户端 8.0.18 1.0.0

appId:wx1f5a314f8cb8f3dd

openId:o6gVx5IfNkWO9NxRKBGNA8yGVo94

templateId:UsZHgAjpxX4AVF_xwQQUfdaIEmOev3MHNAp32tannDM

用户选择了始终授权,首次给这个用户发送 是成功的,之后服务端再请求subscribeMessage.send,均返回43101错误码,消息为:user refuse to accept the msg

举例rid:620df5bc-5ff9d3e7-689be1d8 620df5be-16a0fc8f-7de635af 620df5bf-1a15ad84-2fe554c4

Framework type problem type API / component name terminal type wechat version basic library version applet bug subscribemessage Send wechat IOS client 8.0.18 1.0.0 appid: wx1f5a314f8cb8f3dd openid: o6gvx5ifnkwo9nxrkbgna8ygvo94 templateid: uszhgajpxx4avf_ Xwqqufdaiiemoev3mhnap32tanndm user has chosen to always authorize. Sending to this user for the first time is successful, and then the server requests subscribemessage Send, all return 43101 error code, the message is: user refer to accept the MSG example rid: 620df5bc-5ff9d3e7-689be1d8 620df5be-16a0fc8f-7de635af 620df5bf-1a15ad84-2fe554c4

回答:

拾忆:

订阅一次只能发送一次,始终允许只是下次订阅的时候不会弹窗让用户选择是否订阅。

Mr.Zhao:

始终授权就是下次订阅不弹窗了,可不是一直订阅,搞错了

brave:

订阅成功一次只能推送一次

始终保持以上选项:下次订阅直接不弹窗要求授权,比如上次是同意的这次直接同意;上次拒绝的,这是直接拒绝。

-EOF-

AI助手支持GPT4.0