收藏
回答

企业微信小程序发送 小程序通知消息 报错?

企业微信小程序发送 小程序通知消息 报错:msgtype 设置不合法

按照api文档说明,将 msgtype 设置为 "miniprogram_notice" 为什么报错40008

"errcode":40008,"errmsg":"invalid message type, hint: [1590550987_79_dbac689d19f125f2143ddc0faa3e6032]

最后一次编辑于  2020-05-27
回答关注问题邀请回答
收藏

2 个回答

  • 企业微信运营专员-千夜
    企业微信运营专员-千夜
    2020-05-28

    您好,hint信息的日志爆了,能否重试下提供下hint信息,或者提供下accesstoken和发送的请求看下

    2020-05-28
    有用
    回复
  • Ton 黄统传
    Ton 黄统传
    2020-05-28

    access_token:t6kURQ6hxaLRD2Pu5qGMCqK1esbr2fGyZ7M_KUt_rRZeOL0KxE1Fkak3T3ORf67NXsZIMq41Vit1aJjY9Afogx6mhmF1PMyka42t4b5d6ypkPI8ER0fuBfAXsvogqip6k7W54tBJzlTq9_KmDTtSq4zAK6GDR5G17H9yzhlFi5MczI7DWV4MOu8Y9MFamhje-Tm_OcR-IWB3XHBh2k7xVw

    发送的请求:{"touser":"rechtn@qq.com","msgtype":"miniprogram_notice","miniprogram_notice":{"appid":"wx117a4ff79afb1572","title":"hxh 的申请审批","description":"huh 2020-05-26 提交的 Locker 金额:10000.0","emphasis_first_item":false,"content_item":[{"key":"申请人:","value":"huh"},{"key":"日期:","value":"2020-05-26"},{"key":"申请类别:","value":"Locker申请"},{"key":"金额:","value":"10000.0"}]},"enable_id_trans":0,"enable_duplicate_check":0,"duplicate_check_interval":0}

    hint: [1590550989_77_8d8f0f4786317d0fee5b01469cccc21b]

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