API & Authentication

40300 No Permission

API Error HTTP Code 40300

Your app or advertiser account doesn't have the required permissions to access this specific API endpoint or resource. This commonly happens when your app hasn't been granted the right scopes during OAuth.

What causes this error?

Your app or advertiser account doesn’t have the required permissions to access this specific API endpoint or resource. This commonly happens when your app hasn’t been granted the right scopes during OAuth.

How to fix it

  1. Review OAuth scopes: When redirecting users through the OAuth flow, make sure you’re requesting all needed scopes (e.g., ad_management, reporting, creative_management).
  2. Check advertiser access: Verify the advertiser ID belongs to an account that has authorized your application.
  3. Contact TikTok: Some endpoints require app review/approval before access is granted.

Want your TikTok Ads to outperform?

The Automation Engine supercharges your TikTok Ad performance using conditional automation™ via signals like weather, daypart, Amazon item availability and more.