---
title: "TikTok error 40001: No permission"
description: "TikTok error 40001: No permission. The cause, the fix, whether a retry is safe, and the PubNio delivery issue it settles."
---

> 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 40001: No permission

TikTok error 40001: No permission to perform the related operation. A publish that gets it fails with `provider_rejected`. Checked 2026-12-05.

## Exact error

`code`: `40001`; HTTP 200.

```json
{
  "code": 40001,
  "message": "No permission",
  "data": {}
}
```

Returned by POST `/open_api/v1.3/business/video/publish/`, POST `/open_api/v1.3/business/photo/publish/`, GET `/open_api/v1.3/business/video/settings/`, GET `/open_api/v1.3/business/publish/status/`, other /open_api/v1.3/ operations (analytics, inbox, ads).

## Cause

The creator's token does not carry the scope the endpoint needs (video.publish for posting, comment or message scopes for the inbox), or the TikTok developer app has not been approved for that product.

## Fix

Reconnect the TikTok account in PubNio and approve every scope on the TikTok consent screen. If the app itself lacks the product, request access in the TikTok developer portal first.

## Retry safety

Yes, once the cause is fixed: the provider created nothing, and an unchanged resend fails again.

## PubNio issue

- On a publish: `provider_rejected`, status `failed`; error kind `invalid_request`.
- On non-publish calls through the generated TikTok operations: error kind `permission`.

## Observed

Replayed through the adapter in `packages/core/test/provider-error-catalog.test.ts` and `packages/core/test/postiz-tiktok-draft.test.ts`, `packages/core/test/tiktok-subscription.test.ts`.

## Limits

Another TikTok endpoint can return 40001 for another reason.

## Sources

- [TikTok API for Business: Return codes](https://business-api.tiktok.com/portal/docs?id=1737172488964097), checked 2026-12-05
- PubNio: `packages/core/src/integration/providers/tiktok-transport.ts#responseFailure`, `packages/core/src/integration/providers/tiktok-client.ts#publishRejected`, `packages/core/src/post/delivery-store.ts#settleSubmission`

## Related

- [TikTok error codes](https://pubnio.com/docs/errors/tiktok/)
- [Every provider error code](https://pubnio.com/docs/errors/providers/)

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