Image send via customer service api
发布于 5 年前 作者 qiang76 14306 次浏览 来自 问答

I have uploaded image using temporary image upload api, I gor media id.

I am trying to send that image to particular openid, it is saying “invalid type hint: [2RzD9a0015ge21]” error.

I have uploaded image using permenant api and trying to send out broadcast to same openid, it is saying same error. this is very urgent issue please assist me.

__API used __

https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token={accesstoke}

Post data

{

    “touser”:“oA_5gwHeSJNKyfqCSXiMEjRjAO4E”,

    “image”:

    {

      “media_id”:“IQkGvFrcYqpksmExgnJAlWOZQMA_3NRROsduc-da5AXnxP-1h98w59_UzXzyVf9e”

    },

    “msgtype”:“image”

}

Error:

{

  “errcode”: 45162,

  “errmsg”: “invalid type hint: [2RzD9a0015ge21]”

}

__
__

回到顶部