wechatDownload can't get the key (获取密钥失败): what can I do?

wechatDownload reads the key from your logged-in PC WeChat, and it breaks whenever WeChat or the tool changes: issue 161 (July 2024, 40 comments) and issue 484 (March 2026, after tool version 4.2) are both full of users stuck at the key step. What helped: keep the .exe in a folder with no spaces, open the copied article link inside WeChat first, wait (one user said about 5 minutes worked 90% of the time), and update to the newest release. XTikAPI reads an account's articles by its gh_ ID with no WeChat client, $0.02 a page.

Updated 2026-11-24

Checklist from the two threads

Stuck at "getting key"

What users tried: Wait about 5 minutes

Result reported: One user: works about 90% of the time

Stuck at "getting key"

What users tried: Open the article link in WeChat first, then batch download

Result reported: Suggested by the maintainer (issue 484)

"Download failed, check the link"

What users tried: Move the .exe out of a path with spaces

Result reported: Fixed it for one user on 4.4

Fails on every version

What users tried: Update to the newest release

Result reported: Maintainer's answer to 4.1-4.3 reports

In issue 161 the reporter had already tried a non-C: path, no proxy, two WeChat accounts and two computers on Windows 11, and still got no key.

Without a WeChat client

  1. Get the account's gh_ ID: in an article's page source, var user_name = "gh_...".
  2. wechat_mp.posts.list with id and cursor for the article list.
  3. wechat_mp.posts.detail with url for full text, wechat_mp.posts.metrics for reads.

Cost: an account's 500 past articles at about 10 a page = 50 list calls + 500 detail calls = 550 × $0.02 = $11. A failed call is not charged.

Why XTikAPI

  • XTikAPI reads WeChat Official Accounts with 7 endpoints from $0.02 a call, and a failed call is not charged.
  • Fewer tokens for AI: across 4 recorded live WeChat Official Accounts calls (2026-11-18), raw platform JSON is ~64k tokens vs ~2k via XTikAPI REST (96.4% fewer) and ~2k via MCP (96.3% fewer).
  • See before you pay: 192 of 229 endpoints show a recorded real response on their page (5 of 7 for WeChat Official Accounts).
  • Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
  • 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.

Sources

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

More about WeChat Official Accounts

Questions

Does it depend on my Windows version?

The threads mix Windows 11 22H2 and 23H2 reports with the same failure, so the OS build was not the deciding factor there.

One key. Start now.

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

Start free