f2 Douyin download fails with Client error '403 Forbidden': how to fix it?

It's a new Douyin gateway check, not an expired cookie. In f2 issue 443 (August 2026, 31 comments) liked-video downloads stopped with 403 Forbidden after a page or two even with a fresh cookie; opening the request URL showed "Blocked by ArgusSecurityPlugin Uifid Not Found", and users fixed it by sending the uifid value from the cookie as a header, plus any x-tt-argus string on the likes and favorites lists. f2's last release is still v0.0.1.7 (December 2024). For posted videos, XTikAPI's douyin.videos.list pages an account's works with no cookie on your side, $0.002 a page.

Updated 2026-11-25

What you see and what it means

403 on liked or favorite videos after 1-2 pages

What it is: A new gateway check on login-only lists; posted videos were not affected

What to do: Add the uifid header (and x-tt-argus for likes/favorites)

"Blocked by ArgusSecurityPlugin Uifid Not Found" when opening the URL

What it is: The same check

What to do: Same

Still 403 after the fix, only on a server

What it is: One user's server was blocked while the same code worked locally (Sep 2026)

What to do: Run from another network

Every single-video download 403

What it is: Reported in September 2026; fixed once only the part after UIFID= went into the config

What to do: Copy just the value, not the whole cookie

The commenter who found it warned that x-tt-argus only works while Douyin does not check its value.

If you only need posted videos

  1. Turn the profile link into a sec_uid with douyin.accounts.id_from_url.
  2. Call douyin.videos.list with id, pass cursor for the next page; sort changes the order.
  3. One video's full data: douyin.videos.detail.

Cost: 50 creators × 4 pages = 200 calls × $0.002 = $0.40.

Why XTikAPI

  • XTikAPI reads Douyin with 34 endpoints from $0.002 a call, and a failed call is not charged.
  • Fewer tokens for AI: across 19 recorded live Douyin calls (2026-11-18), raw platform JSON is ~1.44M tokens vs ~169k via XTikAPI REST (88.3% fewer) and ~36k via MCP (97.5% fewer).
  • See before you pay: 192 of 229 endpoints show a recorded real response on their page (30 of 34 for Douyin).
  • Made for AI: hosted OAuth MCP server (/v1/mcp), Markdown twin per page, llms.txt and OpenAPI for ChatGPT, Claude and Cursor.
  • Free trial: a verified account gets $0.50, no card.

Endpoints

Each with its price; the endpoint page has parameters, fields and a recorded response.

How to do it

Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-25.

More about Douyin

Questions

Can XTikAPI download my own liked videos?

No. Likes and favorites are lists tied to your login; XTikAPI reads public data such as an account's posted videos, comments and search.

Is it my cookie expiring?

Usually not: users in issue 443 refreshed the cookie and still got 403 until they added the `uifid` header.

One key. Start now.

19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.

Start free