API & Authentication

40500 Method Not Allowed

API Error HTTP Code 40500

You're using the wrong HTTP method for this endpoint. For example, sending a GET request to an endpoint that only accepts POST, or vice versa.

What causes this error?

You’re using the wrong HTTP method for this endpoint. For example, sending a GET request to an endpoint that only accepts POST, or vice versa.

How to fix it

Check the TikTok Marketing API documentation for the endpoint. Most creation and update endpoints use POST, while retrieval endpoints use GET. Ensure your HTTP client is configured correctly.

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.