TikTokUpdated

TikTok API error codes and how to fix them

TikTok's Content Posting API returns an error.code string, such as spam_risk_too_many_posts (the creator's daily post cap) or unaudited_client_can_only_post_to_private_accounts (an app TikTok has not audited). The Business API uses numbers such as 40001. This page explains each code: what it means and how to fix it. Siar, a unified social media API, keeps TikTok’s own code and message on the post and adds the fix below.

Status: TikTok: built, opening after TikTok approves Siar. Checked 12 November 2026. Approval record.

This page is a reference for any developer using TikTok's Content Posting API.

Jump to a code: unaudited_client_can_only_post_to_private_accounts, privacy_level_option_mismatch, spam_risk_too_many_posts, spam_risk_too_many_pending_share, spam_risk_user_banned_from_posting, access_token_invalid, scope_not_authorized, url_ownership_unverified, rate_limit_exceeded, duration_check_failed, file_format_check_failed, picture_size_check_failed, reached_active_user_cap, 40001, 40105.

Codes and messages are what TikTok returns. Where TikTok documents a code, this page follows its docs.

unaudited_client_can_only_post_to_private_accounts · Unaudited clients can only post to a private account · the app hasn't passed TikTok's audit

TikTok blocks the post at /publish/video/init/ because the app has not passed TikTok's audit. Until it does, posts must use SELF_ONLY privacy, the creator's account must be private, and at most 5 users can post in 24 hours. Fix: post SELF_ONLY to a private account, and apply for TikTok's audit.

What Siar does with it: This is the reason TikTok is not open in Siar yet. TikTok: built, opening after TikTok approves Siar.

TikTok's message: Please review our integration guidelines…

Related: Each network's status, with dates

privacy_level_option_mismatch · privacy_level is not one of the creator's privacy_level_options · that privacy level isn't allowed for this creator

The creator's account does not offer that privacy level (e.g. private accounts cannot post PUBLIC_TO_EVERYONE). Call `creator_info` first and use one of the `privacy_level_options` it returns.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: privacy_level is not one of the creator's privacy_level_options.

spam_risk_too_many_posts · The daily post cap from the API is reached… · the creator hit the daily post cap

TikTok returns 403 spam_risk_too_many_posts when a creator account has reached its daily cap for posts made through the API. TikTok says the cap varies by creator, typically around 15 posts a day. Fix: stop posting to that account for the day and spread posts out. Retrying sooner fails again.

What Siar does with it: Reference only: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter treats this code as a rate limit.

TikTok's message: The daily post cap from the API is reached for the current user

spam_risk_too_many_pending_share · Too many pending shares in the inbox · too many drafts are waiting

Up to 5 drafts may wait in the creator's inbox within 24 hours. Have the creator post or delete pending drafts in the TikTok app.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: Too many pending shares in the inbox.

spam_risk_user_banned_from_posting · The user is banned from posting · TikTok has blocked this creator

TikTok blocked this creator from posting. The creator resolves it with TikTok.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: The user is banned from posting.

access_token_invalid · The access token is invalid or not found in the request · the token expired or was revoked

The grant expired or was revoked. Refresh the token with the refresh token; if that fails, have the creator authorize the app again.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: The access token is invalid or not found in the request.

scope_not_authorized · The user did not authorize the scope required… · a permission wasn't granted

video.publish or video.upload was not granted. Have the creator authorize again and approve `video.publish` or `video.upload`.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: The user did not authorize the scope required for completing this request.

url_ownership_unverified · The URL prefix is not verified for this app · the media domain isn't verified

PULL_FROM_URL needs the media domain verified in the TikTok developer portal. Verify the media domain, or use FILE_UPLOAD.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: The URL prefix is not verified for this app.

rate_limit_exceeded · API rate limit exceeded · too many requests for this token

Too many requests for this token (e.g. 6/min for init). Each user token allows 6 requests a minute on these endpoints; wait a minute, then retry.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: API rate limit exceeded.

duration_check_failed · Video duration exceeds the creator's max_video_post_duration_sec · the video is too long for this creator

The video is longer than this creator may post. Read `max_video_post_duration_sec` from `creator_info` and trim the video to fit.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: Video duration exceeds the creator's max_video_post_duration_sec.

file_format_check_failed · Unsupported media format · TikTok can't use this file

Video must be MP4/WebM/MOV (H.264/H.265/VP8/VP9); photos JPEG/WebP. Re-encode the media.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: Unsupported media format.

picture_size_check_failed · Picture size check failed · the photo is too large

Photos must be at most 1080p and 20 MB. Resize the image.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: Picture size check failed.

reached_active_user_cap · The daily quota for active publishing users from your client is reached · the app hit its daily cap on posting users

Unaudited apps are capped at a few active creators per day. Wait for the next day. The cap rises after the app passes TikTok's audit.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: The daily quota for active publishing users was reached.

Related: Each network's status, with dates

40001 · No permission to operate this business account · the Business API token lacks access

Business API: the token lacks the scope or the account is not a business account. Authorize again with the business scopes, on a TikTok business account.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: No permission to operate this business account.

40105 · Access token is invalid or expired · the Business API token expired

Business API token expired and could not be refreshed. Refresh the token; if that fails, authorize again.

What Siar does with it: TikTok: built, opening after TikTok approves Siar. Siar's TikTok adapter keeps this code and message verbatim, so the code you'd see in Siar is the one on this page.

TikTok's message: Access token is invalid or expired.

Where to see a TikTok error in Siar

Read a failed post with GET /post/{id}. The error field sums it up, errors lists the result per network, and errorsVerbose keeps TikTok's own code, message and HTTP status, a plain-English message, and a retry verdict: retryable, non_retryable or unknown. A signed post.published webhook fires when the post has published or failed, with each network's result. Fix the cause and retry with POST /post/{id}/retry.

Siar, a unified social media API, publishes to Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack today. See each network's status, or go back to TikTok Content Posting API guide.

Error codes for other networks

The same pattern, for each network Siar is built for: social media API error codes, by network. For errors from Siar's own API (a 401 for a missing key, a 429 rate limit), see Siar API errors and status codes.

YouTube API error codes · Instagram API error codes · Facebook API error codes · X (Twitter) API error codes · Threads API error codes · LinkedIn API error codes · Pinterest API error codes · Reddit API error codes · Mastodon API error codes · Discord API error codes · Slack API error codes · Bluesky API error codes · Google Business Profile API error codes · Snapchat API error codes

Frequently asked questions

Why can my TikTok app only post private videos?

Because it hasn't passed TikTok's audit. Until it does, TikTok allows only SELF_ONLY posts to private accounts, from at most 5 users in 24 hours, and returns unaudited_client_can_only_post_to_private_accounts otherwise. Apply for the audit in the TikTok developer portal. Siar's own TikTok integration is waiting on the same audit.

Should I retry a failed TikTok API request?

Only if the error is temporary. Rate limits (429 and TikTok's own rate-limit codes) and 5xx errors can be retried after the reset time. Token, permission, duplicate and content errors fail the same way every time, so fix the cause first. Each entry on this page says which kind it is.

Why does the TikTok API reject a request that looks right?

Usually because of something outside the request body: an expired token, a permission the user didn't grant, the account's daily limit, or text the account posted recently. Read the code and message first, then match it to an entry on this page. Validating length and media before sending catches most of the rest.

Does Siar retry failed TikTok posts automatically?

For temporary errors, yes: Siar tries up to three times in all, waiting for the network's reset time when it can read one. Other errors stay on the post with TikTok's own code and message. Fix the cause and retry: only the failed networks are sent again, and the retry doesn't count as another post.

Will retrying a failed post publish it twice?

Not through Siar's retry. Each network in a post is claimed once, and only the networks that failed are sent again. An interrupted send is checked against the account before anything is re-sent. But calling the create endpoint again makes a new post: Siar has no client idempotency key, so check your own records first.

Your first post is one request away.

Start with 20 free posts to try. No card. A one-time allowance, with no time limit.