关于微信上传永久素材接口报错(empty news data)
程序员文章站
2022-04-08 12:33:28
...
https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=XXX&type=thumb
https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=XXX
首先这2个都是微信开发文档上的 上传图文素材接口
我2个都使用了都报错
{"errcode":44003,"errmsg":"empty news data hint: [QkkmMA0594ent2]"}
POST提交的数据:
https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=XXX
首先这2个都是微信开发文档上的 上传图文素材接口
我2个都使用了都报错
{"errcode":44003,"errmsg":"empty news data hint: [QkkmMA0594ent2]"}
POST提交的数据:
{ "articles": [ { "thumb_media_id":"qI6_Ze_6PtV7svjolgs-rN6stStuHIjs9_DidOHaj0Q-mwvBelOXCFZiq2OsIU-p", "author":"xxx", "title":"Happy Day", "content_source_url":"www.qq.com", "content":"content", "digest":"digest", "show_cover_pic":"1" }, { "thumb_media_id":"qI6_Ze_6PtV7svjolgs-rN6stStuHIjs9_DidOHaj0Q-mwvBelOXCFZiq2OsIU-p", "author":"xxx", "title":"Happy Day", "content_source_url":"www.qq.com", "content":"content", "digest":"digest", " show_cover_pic":"1" } ] }
回复讨论(解决方案)
求大神@xuzuning
求大神@xuzuning
上一篇: php实现打包下载文件的代码示例