收藏
回答

公众号发送小程序卡片客服消息返回40004?

https://api.weixin.qq.com/cgi-bin/material/batchget_material?access_token=ACCESS_TOKEN

参数:{

    "touser":"oFSRuJxugKoVlsLDaWVpTOrNjZRo",

    "msgtype":"miniprogrampage",

    "miniprogrampage":

    {

        "title":"this is a test",

        "appid":"wxde8ac0a21135c07d",

        "pagepath":"/hotel/pages/h5/index?disableRisk=false&customRisk=coupon&q=https%3A%2F%2Fi.meituan.com%2Fawp%2Fhfe%2Fspring-festival-game%2Findex.html%23%2F%3FpageSource%3D32&utm_source=wxmbxcx_55&utm_medium=miniPro&utm_campaign=wxmbxcx_55",

        "appId":"wxde8ac0a21135c07d",

        "media_id":"3983317316142081",

        "thumb_media_id":"3983317316142081"

    }

}

返回:{"errcode":40004,"errmsg":"invalid media type hint: [xwnZOa09110043] rid: 6035fcff-5ce6d309-300f77af"}

请问media_id 与 thumb_media_id 填写的是小程序卡片id 还是临时素材的media_id呢

回答关注问题邀请回答
收藏

1 个回答

  • Summer✨
    Summer✨
    2021-02-24

    你好,能否提供调用的文档地址,填素材的media_id

    2021-02-24
    有用
    回复 1
    • 生如夏花
      生如夏花
      2022-02-23
      怎么解决 临时素材和永久素材都不行
      2022-02-23
      回复
登录 后发表内容
问题标签