/cgi-bin/account/modifyheadimage?access_token=35_fL6QM-c57CCcUr0dx_sHDvC91AxHStcwa7h2dwHH8j66mZUgCcEyU2zeM9pPcL1p9y3nOu18DembqLxPk3cF6mrCO4XKfcIo23SUJVizxd6wgcagS_ktQpRLEz82HZk-FRuut-Pt3UnaJeKRWJLbAHDERT
{"head_img_media_id":"d4IETTItqbGtouW-lzGDzzphpmL330aYlJnZnmbPuev_pVoBD1t5S1bqHMYtEl6l","x1":0,"y1":0,"x2":1,"y2":1}
过程为:
1。使用公众号的素材管理->新增临时素材接口,上传图片后获得media_id
2。然后用该media_id修改小程序头像提示{"errcode":40007,"errmsg":"invalid media_id hint: [7UEsHa01714802]"}
求大佬解答下,谢谢
你好,请重现一遍后提供相关appid、完整请求(带access_token,过期也可以)、返回信息、请求时间
授权小程序appid:wxcdbc429093792fc5
请求:https://api.weixin.qq.com/cgi-bin/account/modifyheadimage?access_token=35_fkeZc632WwL_0AZwvwi2hr4r9YEAmk9ehMC2ONNdHdxMmndxoOt1VnehsvGlk8lh9fwjyZ77CeTlHqHlTmIvsz2zz9o8rGlLv0sVu_Bfra1_5jm16BpKoYDupY4qRG-gpb0lwhc4CTRDIFXdEQFgAMDSET
参数:{"head_img_media_id":"kwd9LVoQirUOcr0aq2Ppqq9RZfCueb5BnQ8BILtif7sNRRoW4AuNMFVWjtRShhYz","x1":0,"y1":0,"x2":1,"y2":1}
返回:{"errcode":40007,"errmsg":"invalid media_id hint: [IwRODA01480356]"}
时间:2020-07-06T17:19:08.747130+08:00
media_id可以正常获取到图片啊,为什么会说是有问题呢?