Common issues and how to solve them.
Content Generation Failures
Posts suddenly stop generating (API rate limit)
This is the most common issue. If PostFlow-AI was working fine and suddenly stops generating content, the most likely cause is hitting your API usage limit on OpenAI or Anthropic.
How to check:
How to fix: Add more credit to the service that's run out. If you set a monthly spending limit (Hard Limit), you may need to increase it. The console window will show error messages like "insufficient_quota" or "rate_limit_exceeded" — check there for clues.
💡 Prevention tip
Keep at least $5 credit on each service. If you run the scheduler frequently (e.g., every 2 hours), monitor your usage weekly. A single post generation costs ~$0.05–$0.06 (English), so $5 covers roughly 80–100 generations.
Threads / Instagram access token expired
Meta access tokens expire periodically (typically every 60 days for long-lived tokens). When expired, Threads and Instagram posts will fail with a 401 or "token expired" error.
How to fix: Generate a new token from the Meta Developer Portal and update it in API Settings. Consider setting a calendar reminder to refresh the token before it expires.
Startup & General
PostFlow-AI.exe doesn't start
Make sure you extracted the full ZIP file (don't run it from inside the ZIP). Check that the config/ and data/ folders are present next to the .exe file. If Windows Defender blocks it, click "More info" → "Run anyway".
The console window closed immediately
An error occurred during startup. Open a Command Prompt, navigate to the PostFlow-AI folder, and run PostFlow-AI.exe from the command line to see the error message.
"Dashboard not loading" in the browser
The dashboard runs on http://localhost:5000. If it doesn't open automatically, try entering this URL manually. If the console shows errors, the port may be in use — check for other applications using port 5000.
API Key Errors
"OPENAI_API_KEY is not set"
Your OpenAI API key is missing or invalid. Go to API Settings, enter your key, and click Save. Make sure there are no extra spaces before or after the key.
"Claude API key is not set"
Your Anthropic API key is missing. Enter it in API Settings. The key should start with sk-ant-.
"Insufficient quota" or billing errors
Your API credit is exhausted. See "Posts suddenly stop generating" above for detailed steps to check and resolve billing issues on both OpenAI and Anthropic.
Platform Posting Errors
Threads: "Token expired" or 401 error
See "Threads / Instagram access token expired" above. Generate a fresh token from the Meta Developer Portal and update it in API Settings.
X: "403 Forbidden"
Your X API keys may not have write permissions. Check that your app in the X Developer Portal has "Read and Write" access. Also verify all 4 keys are entered correctly.
WordPress: "401 Unauthorized"
Check your Application Password. Note: this is NOT your WordPress login password — it's a separate password generated in WordPress Admin → Users → Your Profile → Application Passwords.
Instagram: "Image upload failed"
Instagram requires a public image URL. If you don't have WordPress connected, make sure your imgbb API key is set in API Settings. Also check that the image file exists in the data/thumbnails/ or data/photo_library/ folder.
Instagram: post skipped
Instagram cannot publish text-only posts. If a post has no image (because Image Frequency wasn't triggered), Instagram is automatically skipped. Set Image Frequency to 1.0 for topics targeting Instagram.
Content Quality Issues
🔧 Output feels off? Check these 4 things first:
- Is your Persona specific enough? (not just "a coach" — who, for whom, what's unique?)
- Did you add a Style Sample? (at least 200+ words of your real writing)
- Is your Vector Store populated? (even 5 pasted posts make a huge difference)
- Are your Topics specific enough? (not "Marketing" — narrow it down)
Fixing even one of these usually produces a noticeable improvement on the next generation.
Posts sound generic or "too AI"
This is normal when starting out. The solution is the Feedback Loop (Section 5). Add a Style Sample, provide detailed Persona and Voice descriptions, and most importantly — edit generated posts and add the good ones to your Vector Store. The AI improves dramatically after 5–10 cycles.
Posts are too long or too short
Check the Content Length setting in Basic Settings. Also note that the AI targets a range (e.g., 800–1,200 chars for Standard) — occasional variation is normal.
Posts keep repeating similar content
Add more angles to your topics. The rotation system works best with 3+ angles per topic. Also ensure your Vector Store has diverse content — if all your reference data is about one sub-topic, the AI will keep circling back to it.
Common Setup Mistakes (and How to Fix Them)
These are the settings mistakes that cause 90% of quality issues. If your output feels off, check this list first.
❌ Persona is too vague
Symptom: Posts feel generic, could have been written by anyone.
Cause: Persona like "A business coach" gives the AI nothing unique to work with.
Fix: Add specific details — your background, your niche, your unique perspective. "An ex-corporate lawyer who pivoted to life coaching for burnt-out tech workers" gives the AI a clear voice to write from.
❌ No Style Sample provided
Symptom: Posts sound "AI-polished" — technically fine but lack personality.
Cause: Without a Style Sample, the AI has no reference for your writing rhythm, word choices, and sentence patterns.
Fix: Paste 2–3 examples of your best writing (300–500 words total). Social media posts, newsletter excerpts, or even casual emails work great.
❌ Topics are too broad
Symptom: Posts lack depth, stay surface-level, feel like "Wikipedia summaries".
Cause: A topic like "Marketing" is too wide — the AI doesn't know what aspect to focus on.
Fix: Narrow your topics. "Instagram growth tactics for handmade jewelry businesses" is much better than "Social media marketing".
❌ Vector Store data is mixed across topics
Symptom: Posts randomly reference unrelated subjects. A post about cooking mentions financial data.
Cause: Multiple topics sharing one Vector Store. The AI pulls whatever seems relevant, even if it's from the wrong domain.
Fix: Create separate Vector Stores for each topic and assign them in the Topics tab.
❌ Only 1 angle per topic
Symptom: Posts feel repetitive, covering the same ground with slightly different words.
Cause: With only 1 angle, the AI has no variety to work with. The rotation system needs multiple angles to shine.
Fix: Add at least 2–3 angles per topic. Each angle should offer a genuinely different perspective or approach to the subject.
Log Files
PostFlow-AI saves detailed logs for debugging:
data/scheduler.log — Scheduler execution history
data/debug/gpt5_drafts_*.txt — Raw GPT-5.2 draft outputs
data/debug/claude_rewritten_*.txt — Claude rewrite outputs
If you need help, these log files contain the information needed to diagnose problems.