LlamaIndex Index Processing Failure Detection
criticalreliabilityUpdated Feb 23, 2026
LlamaIndex indexes may silently fail document processing with files stuck in ERROR or PENDING states, causing incomplete search results without alerting when no successful files exist.
Technologies:
How to detect:
Track file status counts via the LlamaCloud API: alert when SUCCESS count = 0 and ERROR count > 0, or when PENDING count remains non-zero beyond expected processing time. Monitor total_count vs. sum(SUCCESS + ERROR + PENDING) for data consistency.
Recommended action:
Poll the /pipelines/{pipeline_id}/files/status-counts endpoint every 5-10 seconds during ingestion. Alert when no files succeed within expected time window. Implement progressive monitoring: start queries only when success_count > 0, log errors with document format/size analysis when error_count spikes.