Pipeline Stuck or Failing
What to do when generation hangs or errors out.
Pipeline Stuck or Failing
Sometimes the generation pipeline hangs or returns an error. Here's how
to diagnose and recover.
Symptoms
Editor shows "Generating…" for more than 15 minutes
Some sections completed but others are blank
Error toast: "Pipeline failed at step X"
500 server error on the page
First — give it time
Long sections (15,000+ word lit reviews) can take 10–15 minutes. If
you're under that, wait. Don't refresh — refreshing doesn't restart the
pipeline, but it does rebuild the editor state.
If it's truly stuck
Open the Pipeline tab in the editor
Look at the most recent step status — it'll show "in progress" or "failed"
If "in progress" for 20+ minutes:
- Click "Restart pipeline" at the bottom of the panel
- The session keeps any completed sections; only the stuck one re-runs
If "failed":
- Read the error message
- Common errors and fixes are below
Common errors
"Source retrieval timeout"
Your network or the academic databases are slow. Wait 5 min, retry.
"Rate limit exceeded"
You've made too many requests too fast. Wait 1 hour, retry.
"Word count limit exceeded for plan"
Your target word count is above your plan's max. Lower the target or
upgrade.
"OpenRouter / OpenAI error"
The underlying AI provider had a hiccup. Wait 5 min, retry. If it
persists, switch to a different model in account settings.
"PDF parsing failed"
An uploaded PDF couldn't be read. Try uploading a different version
(publisher PDF rather than scanned). Or remove it and proceed.
"Database write conflict"
Two operations tried to update the same row. Refresh, retry. If it
keeps happening, contact support.
Sessions that won't recover
If a session is so broken that even regeneration fails, you can:
Export whatever was generated as DOCX (don't lose your work)
Delete the session
Create a new one with the same parameters
Import the salvaged DOCX as a starting paper
This costs you one usage credit but gives you a clean slate.
Reporting issues
If you've followed the above and the pipeline still fails, email
support@ethoswrite.com with:
Session ID (from the URL: /editor/abc-123-xyz)
The error message
What step it failed on
Approximate time the failure happened
We can pull logs and figure out what went wrong on our end.