The short answer
unaudited_client_can_only_post_to_private_accounts: your API client has not passed TikTok's audit. The scope and the portal toggle are separate from it.The total chunk count is invalid:total_chunk_countmust equalfloor(video_size / chunk_size). The number to fix is usually the chunk size.url_ownership_unverified: you usedPULL_FROM_URLfrom a host you have not verified in the developer portal.
We built a TikTok integration and hit all three in production. Everything below about what TikTok requires is from its Direct Post reference and media transfer guide at the time of writing. The rest is what happened to us.
unaudited_client_can_only_post_to_private_accounts
This is an HTTP 403 from /post/publish/video/init/. At the time of writing, TikTok's getting-started page says content from unaudited clients is restricted to private viewing, and that an audit lifts the restriction.
What makes it hard is how many things look like approval without being the audit. On 2026-09-17 our app version was live, video.publish was on its scope list and Direct Post was switched on in the portal. The next real video was still refused.
Then creator_info/query sent us the wrong way. It returned PUBLIC_TO_EVERYONE, and we read that as permission. privacy_level_options describes what the creator's account supports, not what your client may publish. Use it to fill your visibility dropdown, and do not use it as an audit check.
We also blamed the visibility value. The failed post carried FOLLOWER_OF_CREATOR, which that account did not offer, so we added a check and expected the problem to go away. It did not. A valid payload with PUBLIC_TO_EVERYONE failed in exactly the same way. The client really was unaudited. TikTok passed our audit on 2026-09-23, and the same code then published a live video with no change. For a value the account does not offer, TikTok documents a different error, privacy_level_option_mismatch, and warns that repeating it may count as a product-use violation.
How to test it:
- Send
video/initwith a valid payload, using a visibilitycreator_infooffers. - Do not upload anything afterwards. In our test the init call published nothing.
- Read the code that comes back. That answers whether TikTok will accept this exact payload, which
creator_infocannot do.
One more trap: this refusal is a real 403. If your HTTP helper throws on non-2xx responses, any check you wrote against the parsed body never runs. Ours did, and a fallback we shipped failed in front of a customer because of it. Read the code from the thrown error too.
We cannot tell you how long the audit will take you. TikTok's getting-started page gives no turnaround at the time of writing, so do not plan around our dates.
The total chunk count is invalid
This one is a 400 with that text in the message. We logged the code as invalid_params, while TikTok's reference tables list invalid_param, so match on the message too. The rules at the time of writing:
total_chunk_countisvideo_size / chunk_size, rounded down.- Chunks are 5 MB to 64 MB. The final chunk takes the remainder and can reach 128 MB.
- Files over 64 MB must be split.
Our bug was rounding up: count = ceil(size / MAX), then chunk = ceil(size / count). A file of 104,857,601 bytes declared 2 chunks of 52,428,801, and floor(104857601 / 52428801) is 1. The message named the count, but the count was right and the chunk size was wrong.
Our first fix then broke something else. A fixed 64 MB chunk declares one chunk for a 68.6 MB video, and when the count is 1, TikTok requires chunk_size to equal video_size. That returns The chunk size is invalid. This version works on both sides of the ceiling. TikTok accepted a real 71,893,769-byte video declared as 2 chunks of 35,946,884.
const MAX = 64 * 1024 * 1024; // 64 MB
function chunking(size) {
// At or under the ceiling: one whole-file chunk.
if (size <= MAX) return { chunkSize: size, count: 1 };
const count = Math.ceil(size / MAX);
// Round DOWN, so floor(size / chunkSize) still equals count.
return { chunkSize: Math.floor(size / count), count };
}Check your upload loop as well. If each chunk ends at min(start + chunkSize, size), a rounded-down chunk size stops short of the end of the file. The last chunk has to run to the final byte.
url_ownership_unverified
This is a 403 on PULL_FROM_URL when TikTok cannot tie the media URL to a property you verified. At the time of writing, the URL must be HTTPS and must not redirect. Three things to know:
- Changing
post_modewill not help. The inbox endpoint lists the same error, because the URL is the problem. - Verify the host that serves the file, not your website. Our media is on a storage provider's hostname, not on our own domain.
- A Domain property needs control of that domain, which you do not have on a provider's shared hostname. A URL prefix property fits that case. For us it meant a signature file served from the prefix.
For video you can avoid this with FILE_UPLOAD, which needs no verified host. TikTok's photo reference allows only PULL_FROM_URL at the time of writing, so photos have no such way around it.
If you do not want to build this
Until your audit clears, the inbox route still works for video. The creator finishes the post in the TikTok app, and the API takes no caption on that route. Our guide to posting without the audit covers it.
Or use one endpoint. SOSPosting's posting API sends a video through our audited client to TikTok, Instagram, Facebook, YouTube and Threads, whichever you have connected, at 5 tokens per network. A photo can reach up to seven networks at 3 tokens each.
What SOSPosting does not do
- It does not get your own TikTok client audited. Posts sent through us use our client. Your app's status does not change.
- It does not return TikTok metrics. The API reads back engagement for Facebook, Instagram and YouTube only.
- It does not swap a visibility you chose. If the account no longer offers your choice, the post fails and names the options it does offer. An API post with no choice defaults to public, or to what the account offers if public is not available.
Frequently asked questions
What does unaudited_client_can_only_post_to_private_accounts mean?
TikTok has not audited your API client, so it refuses a public Direct Post. Holding the video.publish scope and having Direct Post switched on in the developer portal do not lift this. Only the audit does.
Does privacy_level_options prove my app can post publicly?
No. It describes what the creator's account supports. We saw it list PUBLIC_TO_EVERYONE while our unaudited client was still being refused public posts.
How do I fix 'The total chunk count is invalid'?
Make total_chunk_count equal floor(video_size / chunk_size). Round the chunk size down, and let the final chunk carry the remainder. If the count is 1, chunk_size must equal video_size.
How do I fix url_ownership_unverified?
Verify the host your media is served from as a Domain or URL prefix property in the TikTok developer portal, or use FILE_UPLOAD for video. At the time of writing, photo posts accept only PULL_FROM_URL.
Can I post to TikTok without the audit?
You can send a video to the creator's TikTok inbox, where they finish and publish it in the app. That route takes no caption through the API.