收藏
回答

调用统一消息发送服务报48001,该如何处理?

获取access_token使用的服务号里的appid和appsecret,能获取到
但调用POST https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=ACCESS_TOKEN
接口发送消息时报错:{"errcode":48001,"errmsg":"api unauthorized hints: [uiBd3cqge-LIVAOA!]"}
发送的消息:
{"touser":"用户的openid",
"mp_template_msg":
    {"appid":"服务号的appid",
     "template_id":"模板消息id",
     "url":"",
     "miniprogram":
             {"appid":"小程序的appid","pagepath":"pages/home/main"},
  "data":{"first":{"value":"恭喜你购买成功","color":"#3E96D6"},"keyword1":{"value":"审核通过1","color":"#3E96D6"},"keyword2":{"value":"审核通过2","color":"#3E96D6"},"keyword3":{"value":"审核通过3","color":"#3E96D6"},"keyword4":{"value":"审核通过4","color":"#3E96D6"},"remark":{"value":"审核通过4","color":"#3E96D6"}}}}
回答关注问题邀请回答
收藏

1 个回答

  • 步洛伐克
    步洛伐克
    2020-10-28

    请问您解决了没了,我也遇到这个问题了,目前卡住了。

    2020-10-28
    有用
    回复
登录 后发表内容
问题标签