---
title: "TikTok error codes"
description: "Troubleshooting TikTok Content Posting API privacy levels, commercial disclosures, mention limits, and upload errors."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok error codes

TikTok's Content Posting API enforces strict creator-level privacy options,
commercial disclosure flags, and unaudited app restrictions. PubNio queries
each creator's live settings and surfaces typed preflight errors before sending.

## Common TikTok errors

| Code / Symptom                        | Retryable       | Cause                                                                                                                                           | How to fix                                                                                                                      |
| ------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `tiktok_privacy_unsupported`          | No              | Requested `privacy` (such as `PUBLIC_TO_EVERYONE`) is not in the creator's allowed list, or the TikTok app is unaudited (`SELF_ONLY` required). | Use one of the allowed privacy levels reported for the account (for unaudited apps, use `SELF_ONLY`).                           |
| `tiktok_disclosure_required`          | No              | Branded or promotional content flags require explicit TikTok commercial disclosure settings.                                                    | Populate the commercial disclosure fields in target `settings` and re-validate.                                                 |
| `tiktok_upload_required`              | No              | Media was not staged in PubNio before TikTok chunked upload.                                                                                    | Call `POST /api/v1/media/import`, poll `GET /api/v1/media/{mediaId}/status` until it reports `ready`, and attach the `mediaId`. |
| `tiktok_too_many_mentions`            | No              | Caption contains more `@mentions` than TikTok allows.                                                                                           | Remove excess `@mentions` from the TikTok target caption.                                                                       |
| `account_not_ready`                   | After reconnect | TikTok OAuth token expired or creator revoked access.                                                                                           | Reconnect the TikTok account in the PubNio workspace.                                                                           |
| `media_mime_type` / `media_too_large` | No              | Video codec or duration violates TikTok Direct Post specifications.                                                                             | Encode as H.264 MP4 (`video/mp4`) within TikTok's size and duration bounds.                                                     |

## Related

- [TikTok Content Posting rules & audit guide](https://pubnio.com/docs/guides/tiktok-content-posting-rules/)
- [TikTok Content Posting API](https://pubnio.com/platforms/tiktok)
- [All PubNio error codes](https://pubnio.com/docs/errors/)

Source: https://pubnio.com/docs/errors/tiktok/index.mdx
