API & Authentication

40400 Resource Not Found

API Error HTTP Code 40400

The specific resource you're trying to access (campaign, ad group, ad, creative, etc.) doesn't exist under the advertiser account you specified, or the ID is incorrect.

What causes this error?

The specific resource you’re trying to access (campaign, ad group, ad, creative, etc.) doesn’t exist under the advertiser account you specified, or the ID is incorrect.

How to fix it

  1. Verify the ID: Double-check the entity ID for typos or incorrect copy-paste.
  2. Check advertiser_id: Make sure you’re querying the correct advertiser account. An entity created under one advertiser won’t be visible to another.
  3. Check deletion: The resource may have been permanently deleted.

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.