Home > Backend Development > PHP Tutorial > 关于微信上传永久素材接口报错(empty news data)

关于微信上传永久素材接口报错(empty news data)

ringa_lee
Release: 2023-02-28 15:18:01
Original
5352 people have browsed it

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提交的数据:  

{    
"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"        
 }    
 ]
 }
Copy after login

回复讨论(解决方案)

求大神@xuzuning 

求大神@xuzuning 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template