Weixin ret=-2 error misclassified as rate limit
Cluster 80125 · gateway. Data as of
Nothing open on GitHub. Fix merged in #113069 on 16 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue 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
- Nothing open on GitHub.
These issues and PRs address a bug where the Weixin adapter incorrectly reports a 'prepare error' (ret=-2) as a rate limit error, obscuring the real cause such as a missing context_token. The fix distinguishes between the two error conditions.
Open issues0
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
2 PRs closed without merging
From the close comments: done elsewhere 2
Closed issues · 1
- Closed#80125weixin adapter: ret=-2 with errmsg 'prepare failed' misreported as 'rate limited', hiding real cause (missing context_token)
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.50: 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
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 16 Sep 2026