收藏
回答

Image send via customer service api

问题模块
API和组件

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]"

}





最后一次编辑于  2017-08-03
回答关注问题邀请回答
收藏