[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 项)
- 换了 4 条视频,包含一条 0.11 MB / 6 秒纯色极简测试片 → 全部同样报错
- 编码已归一化:
h264 High / yuv420p(tv) / AAC 44.1kHz stereo / +faststart - 删除渠道 + 重新授权 2 次,会话均
status: completed,渠道auth-status: status = 1 - 更换为全新的 AiToEarn 账号并重新绑定 → 仍然失败
- 同一个 Facebook 主页手动上传视频完全正常 → 主页未被限制
- 我方上传素材已自证一致:
POST /api/assets/uploadSign声明的大小 与assets.aitoearn.ai远端实际Content-Length完全相等,已在 0.15 MB / 11.7 MB / 18.9 MB 三档验证
复现步骤
GET /api/v2/channels/accounts/auth/facebook完成授权POST /api/assets/uploadSign→PUT uploadUrl→POST /api/assets/{id}/confirm上传视频POST /api/v2/channels/publish/flows,items[0] = { platform: "facebook", accountId, option: { content_category: "post" } }- 到
publishTime后任务失败,返回上述错误
环境信息
- 平台:Facebook Page(
Flutek Hydraulics,facebook_1306746235855824) - 站点:
https://aitoearn.ai - fbtrace_id:
AsxzCPpLYCGacbxc6rkzDkV、A4RogBgKcsJoChpmgikfpXJ、AEm8cQM0H5lrxgRFuqT-tOW、AJZKXmQKGEzQwjP9JhkYDHB
期望
请确认是发布通道的 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 与实际推送字节数不匹配。
Source: yikart/AiToEarn