收藏
回答

群发素材报错,提示media data missing hint?

群发素材报错,日志如下

code:缺少多媒体文件数据,msg:media data missing hint: [dlotGa0162p502] rid: 650160ea-3a064e6b-230bc200

ERROR 2023-09-13 15:12:42,798 [70   ] .Wx.WxMPMaterials.WxMPMaterialAppService - [UploadForeverNews]error

System.Exception: 上传图文内图片素材失败

   at aowen.wechatplatform.Wx.WxMPMaterials.WxMPMaterialAppService.UploadImage(String accessToken, String localPath) in D:\云库\code\aspnet-core\src\aowen.wechatplatform.Application\Wx\WxMPMaterials\WxMPMaterialAppService.cs:line 481

   at aowen.wechatplatform.Wx.WxMPMaterials.WxMPMaterialAppService.UploadNewsInnerImage(String accessToken, NewsModel newsItem) in D:\云库\code\aspnet-core\src\aowen.wechatplatform.Application\Wx\WxMPMaterials\WxMPMaterialAppService.cs:line 399

   at aowen.wechatplatform.Wx.WxMPMaterials.WxMPMaterialAppService.UploadForeverNews(String accessToken, SyncPushInput input, WxMaterialGroupDto materialGroup, Dictionary`2 mediaResults) in D:\云库\code\aspnet-core\src\aowen.wechatplatform.Application\Wx\WxMPMaterials\WxMPMaterialAppService.cs:line 334

   at aowen.wechatplatform.Wx.WxMPMaterials.WxMPMaterialAppService.Sync(SyncPushInput input) in D:\云库\code\aspnet-core\src\aowen.wechatplatform.Application\Wx\WxMPMaterials\WxMPMaterialAppService.cs:line 215

INFO  2023-09-13 15:12:42,798 [70   ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method aowen.wechatplatform.Wx.WxMPMaterials.WxMPMaterialAppService.PushPreview (aowen.wechatplatform.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5828.8986ms.

INFO  2023-09-13 15:12:42,816 [70   ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.

INFO  2023-09-13 15:12:42,816 [70   ] ore.Mvc.Internal.ControllerActionInvoker - Executed action aowen.wechatplatform.Wx.WxMPMaterials.WxMPMaterialAppService.PushPreview (aowen.wechatplatform.Application) in 5859.3184ms

回答关注问题邀请回答
收藏

1 个回答

  • 爱如朝水
    爱如朝水
    2023-09-13

    已搞定,是图文中缩率图太大导致

    2023-09-13
    有用
    回复
登录 后发表内容