#592·AiToEarn

[bug] Facebook 视频发布持续失败:code 6000 / subcode 1363045 "There was a problem uploading your video file"

Author: qiandd27Created Sep 11, 2026Updated Sep 11, 2026
Labelsbug

Self Checks

  • I have read the Contributing Guide.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I can provide the report in English if needed to help more contributors participate in the discussion.
  • Please do not modify this template :) and fill in all the required fields.

Aitoearn version

zuixing

Please select your platform

Windows

Steps to reproduce

问题描述

通过 AiToEarn Open API 向 Facebook 主页发布视频,5 次尝试全部失败,错误固定不变:

  • code: 6000 / error_subcode: 1363045 / is_transient: false
  • "There was a problem uploading your video file. Please try again with another file."
  • type: OAuthException

平台侧报出的错误为:「上传会话声明的文件大小,和实际上传的数据大小不一致」 → 这指向 创建 Facebook resumable upload session 时声明的 file_size 与实际推送字节数不匹配

已排除的变量(6 项)

  1. 换了 4 条视频,包含一条 0.11 MB / 6 秒纯色极简测试片 → 全部同样报错
  2. 编码已归一化h264 High / yuv420p(tv) / AAC 44.1kHz stereo / +faststart
  3. 删除渠道 + 重新授权 2 次,会话均 status: completed,渠道 auth-status: status = 1
  4. 更换为全新的 AiToEarn 账号并重新绑定 → 仍然失败
  5. 同一个 Facebook 主页手动上传视频完全正常 → 主页未被限制
  6. 我方上传素材已自证一致POST /api/assets/uploadSign 声明的大小 与 assets.aitoearn.ai 远端实际 Content-Length 完全相等,已在 0.15 MB / 11.7 MB / 18.9 MB 三档验证

复现步骤

  1. GET /api/v2/channels/accounts/auth/facebook 完成授权
  2. POST /api/assets/uploadSignPUT uploadUrlPOST /api/assets/{id}/confirm 上传视频
  3. POST /api/v2/channels/publish/flowsitems[0] = { platform: "facebook", accountId, option: { content_category: "post" } }
  4. publishTime 后任务失败,返回上述错误

环境信息

  • 平台:Facebook Page(Flutek Hydraulicsfacebook_1306746235855824
  • 站点:https://aitoearn.ai
  • fbtrace_idAsxzCPpLYCGacbxc6rkzDkVA4RogBgKcsJoChpmgikfpXJAEm8cQM0H5lrxgRFuqT-tOWAJZKXmQKGEzQwjP9JhkYDHB

期望

请确认是发布通道的 bug 还是需要额外配置;如果是 bug,希望能修复 Facebook resumable upload session 的文件大小记账问题。

谢谢!

✔️ Expected Behavior

请确认是发布通道的 bug 还是需要额外配置;如果是 bug,希望能修复 Facebook resumable upload session 的文件大小记账问题。

❌ Actual Behavior

过 AiToEarn Open API 向 Facebook 主页发布视频,5 次尝试全部失败,错误固定不变:

  • code: 6000 / error_subcode: 1363045 / is_transient: false
  • "There was a problem uploading your video file. Please try again with another file."
  • type: OAuthException

平台侧报出的错误为:「上传会话声明的文件大小,和实际上传的数据大小不一致」 → 这指向 创建 Facebook resumable upload session 时声明的 file_size 与实际推送字节数不匹配