收藏
回答

调用cgi-bin/draft/add接口响应封面裁剪失败,但是没有设置相关剪裁参数,请问是为什么?

{"errcode":53402,"errmsg":"封面裁剪失败,请检查裁剪参数后重试 hint: [hfh_054647-3] rid: 68f9c9a1-672869b8-615a25de"}

请求参数:{

"articles": [

{

"thumb_media_id": "10zYBaIlt4FfTzgXhO6gJt2bcuMy1m6pIxj9t7WQuJNCvFTvux05_CWqXQXXTTqj",

"title": "【点击这里】",

"content": "xxxxxxxx",

"author": "xxx",

"content_source_url": "www.xxxx.com/cf/contribute/9e356e0c-0e91-4f94-9178-b077a9e1d99d?channel=cf_tuiwen_454_shipinhao_hz",

"digest": "x x x",

"show_cover_pic": "0"

}

]

}



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

3 个回答

  • 开发者平台小助手
    开发者平台小助手
    2025-10-27

    平台已上线 api 智能诊断功能,后续遇到服务端接口报错的问题,可通过rid一键智能诊断,详情可查看:https://developers.weixin.qq.com/doc/oplatform/developers/basic_func/aibot.html

    2025-10-27
    有用
    回复
  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    2025-10-24

    你好,提供下完整的请求包,原始ID,请求时间点

    2025-10-24
    有用
    回复 12
    • 子煜
      子煜
      2025-10-24
      请求时间2025年10月23日14:21,请求参数就是文章中描述的那些
      2025-10-24
      回复
    • 社区技术运营专员--许涛
      社区技术运营专员--许涛
      2025-10-24回复子煜
      别打码,别用xxx,必须提供下完整的请求包,原始ID,请求时间点
      2025-10-24
      回复
    • 子煜
      子煜
      2025-10-24
      news:{"articles":[{"thumb_media_id":"fZ42uw_xGxI1ibUk3pD4bJAqvQQm28FfvP5ltecAY4EV17tbZFHuopsMLmteFjSm","title":"【点击这里】省出一元钱,救救赵欢喜","content":"<section style=\"font-size: 16px;\" data-mpa-powered-by=\"yiban.io\"><section style=\"text-align: right;letter-spacing: 1px;padding-right: 10px;padding-left: 10px;font-size: 14px;color: rgb(0, 112, 248);\" powered-by=\"xiumi.us\"><p><br /></p></section><section style=\"font-size: 14px;\" powered-by=\"xiumi.us\"><section style=\"font-size: 16px;\"><section style=\"text-align: right;letter-spacing: 1px;padding-right: 10px;padding-left: 10px;font-size: 14px;color: rgb(0, 112, 248);\" powered-by=\"xiumi.us\"><p><br /></p></section><section style=\"font-size: 14px;\" powered-by=\"xiumi.us\"><p style=\"text-align: center;white-space: normal;\"><span style=\"color: rgb(0, 112, 248);\"><strong>省出一元钱</strong></span></p><p style=\"text-align: center;white-space: normal;\"><span style=\"color: rgb(0, 112, 248);\"><strong>点击帮助这个困难无助的患者↓↓↓</strong></span><br /></p></section><section style=\" margin-top: 0.5em;margin-bottom: 0.5em;text-align: center; \" powered-by=\"xiumi.us\"><section style=\"display: inline-block;border-radius: 1em;background-color: rgb(236, 8, 45);padding: 0.3em 0.8em;color: rgb(255, 255, 255);font-size: 30px;\"><p><a target=\"_blank\" href=\"https://www.shuidichou.com/cf/contribute/9e356e0c-0e91-4f94-9178-b077a9e1d99d?channel=cf_tuiwen_147_shipinhao_hz\" textvalue=\" 我 要 捐 款 \" tab=\"outerlink\" style=\"color: rgb(255, 255, 255);\" data-linktype=\"2\"><span style=\"color: rgb(255, 255, 255);\"><strong> 我 要 捐 款 </strong></span></a><strong></strong></p></section></section><section style=\" text-align: center;margin-top: 10px;margin-bottom: 10px; \" powered-by=\"xiumi.us\"><section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 70%;height: auto;\"><img data-ratio=\"0.288\" data-src=\"https://mmbiz.qpic.cn/sz_mmbiz_gif/kIqoSzicdnCaWLrEK2hY5hcQUFXSuxl4zib4ot1kmN82RYHIUxcuo9CkIfmibrX0G9mnO5RqhvpvDYc6tibOGczC0A/640?wx_fmt=gif\" data-type=\"gif\" data-w=\"750\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"></section></section></section><p style=\"text-align: center;white-space: normal;\"><br /></p></section></section>","author":"水滴筹","content_source_url":"www.shuidichou.com/cf/contribute/9e356e0c-0e91-4f94-9178-b077a9e1d99d?channel=cf_tuiwen_147_shipinhao_hz","digest":"水滴筹","show_cover_pic":"0"}]} error
      com.shuidi.weixin.common.exception.WxErrorException: 微信错误: errcode=53402, errmsg=封面裁剪失败,请检查裁剪参数后重试 hint: [TANWka047673-3] rid: 68f9c95c-44e7462b-558d0427
      json:{"errcode":53402,"errmsg":"封面裁剪失败,请检查裁剪参数后重试 hint: [TANWka047673-3] rid: 68f9c95c-44e7462b-558d0427"}
       at com.shuidi.weixin.mp.api.WxMpServiceImpl.executeInternal(WxMpServiceImpl.java:404) ~[weixin-java-mp-1.3.67.jar:na]
       at com.shuidi.weixin.mp.api.WxMpServiceImpl.executeInternal(WxMpServiceImpl.java:346) ~[weixin-java-mp-1.3.67.jar:na]
      日志信息就是这些了,具体时间是2025-10-23 14:21:16.746
      2025-10-24
      回复
    • 社区技术运营专员--许涛
      社区技术运营专员--许涛
      2025-10-24回复子煜
      show_cover_pic这个参数去掉
      2025-10-24
      回复
    • 子煜
      子煜
      2025-10-24回复社区技术运营专员--许涛
      但是带有这个参数的也有成功的
      2025-10-24
      回复
    查看更多(7)
  • 智能回答 智能回答 本次回答由AI生成
    2025-10-23
    有用
登录 后发表内容
问题标签