- TRIAGE
- DIAGNOSTIC
- MONITOR
- HUMAN
Short answer
Why did my document fail to generate?
Your AI can pull a list of failed attempts and fetch the specific error details for each one. You'll see the exact reason for the failure, which helps you fix your templates or data. Here is how it works.
Troubleshooting outcomes
Where your error data lands.
The AI sorts your generation history into these specific categories.
TRIAGE
Identify failed runs
The AI scans your history to find every document that didn't finish. You get a list of what failed and when it happened.
DIAGNOSTIC
Get error details
The AI pulls the specific error logs for a failed run. This tells you if the issue was a template error or a data mismatch.
MONITOR
Track recent status
The AI checks your latest attempts to see if errors are repeating. You can see if your document pipeline is currently stable.
HUMAN
Fix the source data
If the error is caused by bad input, the AI flags the specific record. You'll need to manually fix the data to succeed next time.
The workflow
What your AI does when a generation fails.
The AI handles the log digging so you can focus on fixing the actual problem.
Find failures
The AI looks through your history to isolate every unsuccessful document attempt.
list_failed_doc_generationsPull error logs
It grabs the specific technical reason why a single document failed to create.
get_generation_detailsCheck recent runs
The AI reviews your most recent activity to see if errors are happening right now.
list_latest_doc_generationsReport errors
The AI combines the error details and the history into a clear summary for you.
get_generation_detailslist_failed_doc_generations
Try it
Copy these to start.
Use these prompts to start troubleshooting with your agent.
Starting points
These are opening lines. Swap out the document names or dates to match your specific task.
Documint Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_m79RZg7hPUbag8GDanCAz8Yxv40qKYRXXU8ur7LJ/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Documint capabilities are ready to use.
{
"mcpServers": {
"documint-mcp": {
"url": "https://edge.vinkius.com/vk_preview_m79RZg7hPUbag8GDanCAz8Yxv40qKYRXXU8ur7LJ/mcp"
}
}
}Show me all the document generations that failed today.
Why did the 'Monthly Invoice' document fail to generate?
List my most recent document generations and tell me if any failed.
Get the error details for the last failed document attempt.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Documint once, then ask.
Connect your account once. Your credentials stay encrypted on our side, and you can immediately start asking your agent about your document history.
Connect Documint to your AIFAQ
How this task behaves.
- 01
Can the AI fix the document template for me?
No. The AI can tell you that a template is causing an error, but you have to go into Documint to edit it.
- 02
Can the AI retry a failed document generation?
No. The AI only reads the logs and history. You have to trigger the retry yourself.
- 03
Does the AI have permission to delete my documents?
No. The tools only allow the AI to list and get details about generations. It cannot delete anything.
- 04
Can the AI see the content inside my documents?
No. The AI only sees the generation metadata and the error logs. It doesn't read the actual document content.
- 05
Can the AI change my source data to fix an error?
No. The AI can identify that your data is causing a failure, but it cannot modify your source records.
More questions about Documint? The Connector page answers them. See everything the Documint Connector can do
Connect Documint to Claude, Cursor, ChatGPT & more
