Weixin 'prepare failure' error misclassified as rate limit
Cluster 82502 · gateway. Data as of
1 open item. Fix merged in #113069 on 16 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 0 issues already closed.
- Fix event
- A fix was merged to main in PR #113069. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 0 PRs.
Next step: read #113069, then check whether your report is the one still open.
Read #113069Pick up a Lab task
These issues and PRs concern a specific Weixin/WeChat error (ret=-2, 'prepare failed') being incorrectly treated as a rate-limit condition rather than a stale or invalid context token. The work involves identifying and correcting this misclassification in the adapter and gateway layers.
Open issues1
- Issue#82502Weixin adapter: ret=-2 with 'prepare failed' incorrectly treated as rate limit
Open PRs0
Fixes on record
-
#113069 fix(gateway): Weixin cron/notification sends recover from iLink 'prepare failed' instead of tripping the rate-limit breaker (#112709, salvage #112713)
files:
gateway/platforms/weixin.py,tests/gateway/test_weixin.py,website/docs/user-guide/messaging/weixin.md,website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/weixin.md
1 PR closed without merging
From the close comments: done elsewhere 1
-
#85735 fix(weixin): recognize ret=-2 errmsg='prepare failed' as stale-context_token (closes #82502) · done elsewhere →
46ab37c,5db9f02,#113069,#112713,#80152,#80156,#82502
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #113069
- Closed issues
- 0
- Attempts
- 1 PR closed without merging
- Fix link checked
- 16 Sep 2026