小程序
小游戏
企业微信
微信支付
扫描小程序码分享
新增永久素材,报46001错误,其中thumb_media_id是从获取永久素材接口中获取的; 若thumb_media_id填写错误的,报40007错误,如下 {"errcode":40007,"errmsg":"invalid media_id hint: [cnF0fA0874d165]"} 我看到很多人有此类问题,请问具体是什么原因?修复了么?@官方
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
没看懂,新增永久素材 参数又是从永久素材接口取得? 难道是新增图文接口?news?
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
接口:https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=34_nx7OSv8nyvHIkh1JyLmawqQUrcA1-6yMkzYRJ8Wkx85vzJRsNJCulOmam79BsSJm5kCB2DdeDdlDyRY_842UTKr_C3KREpn_NgWl5483xFdzH4VcP1XxcMoUan913K74tvh871-rM8P2aKiEROSgABALIM
json参数:{"articles":[{"title":"111114444","thumb_media_id":"Kb4a9a0BAu2lujFIJBkRQRLfWI1-6svwQVL9CIR9kJA","author":"AUTHOR","digest":"DIGEST","show_cover_pic":0,"content":"<a class=\"weapp_text_link weapp_image_link\" style=\"font-size:17px;\" data-miniprogram-appid=\"wx6e6decc792f6240f\" data-miniprogram-path=\"\/pages\/goods\/detail\/detail?share=1&goodsId=1277527897049710594&shopId= 1277529354764754945\" data-miniprogram-nickname=\"\u597d\u8d27\u90a6\" href=\"\" data-miniprogram-type=\"text\" data-miniprogram-servicetype=\"0\">Dior 888\u6d53\u90c1\u67ff\u5b50\u9171<\/a>","content_source_url":"","need_open_comment":1,"only_fans_can_comment":0}]}
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
没看懂,新增永久素材 参数又是从永久素材接口取得? 难道是新增图文接口?news?
接口:https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=34_nx7OSv8nyvHIkh1JyLmawqQUrcA1-6yMkzYRJ8Wkx85vzJRsNJCulOmam79BsSJm5kCB2DdeDdlDyRY_842UTKr_C3KREpn_NgWl5483xFdzH4VcP1XxcMoUan913K74tvh871-rM8P2aKiEROSgABALIM
json参数:{"articles":[{"title":"111114444","thumb_media_id":"Kb4a9a0BAu2lujFIJBkRQRLfWI1-6svwQVL9CIR9kJA","author":"AUTHOR","digest":"DIGEST","show_cover_pic":0,"content":"<a class=\"weapp_text_link weapp_image_link\" style=\"font-size:17px;\" data-miniprogram-appid=\"wx6e6decc792f6240f\" data-miniprogram-path=\"\/pages\/goods\/detail\/detail?share=1&goodsId=1277527897049710594&shopId= 1277529354764754945\" data-miniprogram-nickname=\"\u597d\u8d27\u90a6\" href=\"\" data-miniprogram-type=\"text\" data-miniprogram-servicetype=\"0\">Dior 888\u6d53\u90c1\u67ff\u5b50\u9171<\/a>","content_source_url":"","need_open_comment":1,"only_fans_can_comment":0}]}