md2wechat Agent API markmd2wechat Agent API
  • Docs
  • Features
  • Themes
  • Editor
  • Blog
  • Pricing
  • Examples
  • Skills
  • Contact
WeChat IP Whitelist Errors and the Fixed Egress Fix
2026/09/05

WeChat IP Whitelist Errors and the Fixed Egress Fix

Why the ip-not-in-whitelist error appears, how to clear it in three steps, and when a fixed egress proxy is the right answer.

WeChat IP Whitelist Errors and the Fixed Egress Fix

If you see ip xxx.xxx.xxx.xxx not in whitelist, only your WeChat side-effect calls are blocked. The Convert API is not a WeChat side effect and never needs a whitelist — see Auth.

Which calls check the whitelist

Material upload, draft creation, and image posts go through the WeChat open platform, which checks the caller IP against the platform whitelist. Rendering does not.

The three-step fix

curl ifconfig.me
  1. Get the egress IP of the machine that runs the CLI.
  2. Add it in the WeChat MP platform under 开发接口管理 → IP 白名单.
  3. Wait 1-5 minutes and retry.

When the error keeps coming back

  • Home and office broadband rotate public IPs; today's entry expires.
  • CI runners such as GitHub Actions get a new egress range per run.

The fixed egress answer

wechat:
  proxy_url: http://user:pass@host:port

The proxy applies only to WeChat side effects (upload, draft add, image posts). It does not affect the Convert API, image providers, discovery, or preview. Proxy mode requires a valid MD2WECHAT_API_KEY, and md2wechat config show always masks the password. Full details: WeChat IP Whitelist.

Related

  • Publishing API — where drafts actually go
  • Multi-Account Publishing — named accounts share the same egress story
All Posts

Author

avatar for geekjourney
geekjourney

Categories

  • API
WeChat IP Whitelist Errors and the Fixed Egress FixWhich calls check the whitelistThe three-step fixWhen the error keeps coming backThe fixed egress answerRelated

More Posts

56 Advanced Layout Modules: a Usage Guide
Workflow

56 Advanced Layout Modules: a Usage Guide

Nine categories, nine body formats, and how to pick the few modules an article actually needs.

avatar for geekjourney
geekjourney
2026/09/05
md2wechat-skill: WeChat Publishing for Skill-Aware Agents
Integration

md2wechat-skill: WeChat Publishing for Skill-Aware Agents

An overview of the core md2wechat Skill, the main CLI execution layer, installation paths, and evidence-based host compatibility.

avatar for geekjourney
geekjourney
2026/03/12
How to Remove AI Tone from WeChat Official Account Articles
Workflow

How to Remove AI Tone from WeChat Official Account Articles

A reverse-debugging guide to AI-sounding WeChat articles, with an editing sequence, a stronger revision prompt, and a pre-publish checklist.

avatar for geekjourney
geekjourney
2026/03/18

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

md2wechat Agent API markmd2wechat Agent API

The official md2wechat API, docs, CLI, and skill entry points for Markdown to WeChat publishing workflows.

GitHubX (Twitter)
Product
  • Quickstart
  • Features
  • Themes
  • Pricing
  • Contact
Docs
  • Auth
  • OpenAPI
  • llms.txt
Ecosystem
  • Examples
  • Skills
  • md2wechat-lite
© 2026 md2wechat Agent API. All Rights Reserved.