java微信上传永久图文消息返回40007

String peram = "{\"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\":0}]}";

WebClient webclient = new WebClient();
String data = webclient.getWebContentByPost(url,peram);

数据是微信的事例数据,同样显示40007
自己上传的永久图片的thumb_media_id同样也报40007

1个回答

微信上传图文出现40007,invalid media_id hint解决方案:

http://fanshuyao.iteye.com/blog/2299190

http://blog.sina.com.cn/s/blog_6ebc885a0102wjan.html

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐