Error Reference
TikTok API Error Reference
Comprehensive reference for TikTok API errors. Find solutions for spam detection, video format errors, scope permissions, and rate limits.
Error Categories
Authentication
3 errors
Spam
5 errors
Video Format
6 errors
Media
3 errors
Rate Limit
2 errors
App Status
4 errors
Server
2 errors
All Error Codes
#Authentication
access_token_invalidrefresh-tokenTikTok access token is invalid. Please reconnect your TikTok account.
Solution:
Your access token is no longer valid. Go to account settings and reconnect your TikTok account to get a new valid token. Sign in as the same TikTok account you already have connected: authorizing a different one takes over that connection and deletes its analytics, inbox and DM history.
scope_not_authorizedrefresh-tokenMissing required TikTok permissions. Please reconnect with all required scopes.
Solution:
You didn't grant all required permissions. When reconnecting, approve every permission TikTok asks for, including video.publish, video.upload, video.list and user.info.username. A partial grant is refused and changes nothing, so the account keeps working until you retry.
scope_permission_missedrefresh-tokenAdditional permissions required, please re-authenticate.
Solution:
Additional permissions are needed for this operation. Reconnect your TikTok account and ensure all permissions are granted.
#Spam
spam_risk_user_banned_from_postinguser-errorAccount banned from posting. Please check your TikTok account status.
Solution:
Your TikTok account has been restricted from posting. Log into TikTok directly to see if there are any warnings. You may need to appeal the restriction.
spam_risk_textuser-errorTikTok detected potential spam in the post text.
Solution:
Your caption or text was flagged as spam. Avoid repetitive content, excessive links, or promotional language. Try posting different content.
spam_risk_too_many_postsuser-errorYou have created too many posts in the last 24 hours via the API. Please try posting directly in the TikTok app or wait before posting again.
Solution:
TikTok counts a trailing 24 hour window, not a calendar day, so capacity frees up gradually rather than at a fixed reset time. Space the posts out, or post directly in the TikTok app.
spam_risk_too_many_pending_shareuser-errorThe daily upload cap from the API is reached for the current user.
Solution:
To reduce spamming, TikTok limits the number of videos that can be uploaded via API that are not pending approval and posting by the creator. There may be at most 5 pending shares within any 24-hour period.
spam_riskuser-errorTikTok detected potential spam.
Solution:
TikTok's spam detection system flagged your content. Ensure your content is original and follows TikTok's community guidelines. Avoid repetitive posts.
#Video Format
file_format_check_faileduser-errorFile format is invalid. Please check TikTok video specifications.
Solution:
Your video format is not supported. TikTok requires MP4 or WebM format. Convert your video and ensure it meets TikTok's specifications.
duration_check_faileduser-errorVideo duration is invalid. Please check TikTok video specifications.
Solution:
Video duration must be between 3 seconds and 10 minutes. Trim your video to fit within these limits.
frame_rate_check_faileduser-errorVideo frame rate is invalid. Please check TikTok video specifications.
Solution:
TikTok requires a frame rate between 23-60 fps. Re-encode your video with a supported frame rate.
picture_size_check_faileduser-errorPicture / Video size is invalid, must be at least 720p.
Solution:
Your video resolution is too low. TikTok requires minimum 720p resolution. Use a higher quality video source.
video durationuser-errorVideo duration exceeds TikTok's limits. Please use a shorter video.
Solution:
Your video is too long. Maximum duration is 10 minutes. Edit your video to be shorter or split it into multiple parts.
file sizeuser-errorFile size exceeds TikTok's limits. Please use a smaller file.
Solution:
Maximum file size is typically 287MB for videos. Compress your video or reduce its quality to meet the size limit.
#Media
video_pull_failedretryFailed to pull video from URL. Please check the video URL is accessible.
Solution:
TikTok couldn't download your video from the provided URL. Ensure the URL is publicly accessible, returns correct headers, and the file is valid.
photo_pull_failedretryFailed to pull photo from URL. Please check the photo URL is accessible.
Solution:
TikTok couldn't download your image. Verify the URL is publicly accessible and returns the correct content-type header (image/jpeg or image/png).
invalid_file_uploaduser-errorInvalid file format or specifications not met.
Solution:
Your file doesn't meet TikTok's requirements. Check that it's a valid video/image file in a supported format and meets all specifications.
#Rate Limit
rate_limit_exceededretryTikTok rate limit exceeded. Please try again in a few moments.
Solution:
You've made too many requests too quickly. Wait a few minutes before trying again. The system will automatically retry for you.
too many requestsretryTikTok rate limit exceeded. Please try again in a few moments.
Solution:
TikTok is rate limiting your requests. Reduce the frequency of API calls and implement exponential backoff in your retry logic.
#App Status
reached_active_user_capuser-errorDaily active user quota reached.
Solution:
The app has reached its daily active user limit, which TikTok sets per app. TikTok measures it over a rolling 24 hour window, so capacity frees up gradually over the following hours, not at a fixed reset time. Space out your retries rather than batching them.
unaudited_client_can_only_post_to_private_accountsuser-errorApp not approved for public posting, contact support.
Solution:
This is an approval on the app making the call, not on your TikTok account, so there is nothing to change on your side. Contact support if you see it on a Zernio connection.
url_ownership_unverifieduser-errorURL ownership not verified, please verify domain ownership.
Solution:
You need to verify ownership of any external URLs in your posts. Add the verification code to your domain or use the TikTok developer console to verify.
privacy_level_option_mismatchuser-errorPrivacy level mismatch, please check privacy settings.
Solution:
The privacy level you asked for is not one this account can use. Accounts connected through the TikTok for Business app publish videos as public only, so use PUBLIC_TO_EVERYONE, or draft: true to send the video to TikTok drafts and pick the audience there. Photo posts keep every privacy level.
#Server
internalretryThere is a problem with TikTok servers, please try again later.
Solution:
TikTok is experiencing server issues. This is temporary. Wait a few minutes and try again. The system will automatically retry.
invalid_paramsuser-errorInvalid request parameters, please check content format.
Solution:
One or more parameters in your request are invalid. Review the TikTok API documentation and ensure all required fields are present and correctly formatted.
Best Practices
Error Handling
- →Implement spam detection avoidance strategies
- →Validate video format and specifications before upload
- →Handle rate limits with exponential backoff
- →Submit app for production approval
Prevention Tips
- →Use MP4/WebM format, 720p minimum, 23-60 fps
- →Keep videos 3 seconds to 10 minutes
- →Avoid repetitive or promotional content
- →Verify domain ownership for external URLs
Need Help with TikTok Integration?
Our API handles error scenarios automatically with smart retry logic and detailed logging.

