Training failed
Why training fails and what to try next.
Symptom
Training stops and the bot does not reach Ready. Pegasus shows "Training failed. Please try again." or a message that gives the cause. The Training panel shows "Training failed. Updating status…" with the same reason.
Cause
Training can fail while preparing, reading, or indexing documents. The most common cause is a PDF that is a scan or an image; the message then says the PDF has no extractable text.
Fix
Read the reason
The notification and the Training panel show the reason when Pegasus knows it.Try a different document reader
For scanned or image-only PDFs, choose Scanned files (OCR) in Document reader and train again.
Check document types
Use PDF, DOCX, MD, or TXT. Remove files that are unsupported or damaged.Try fewer files
Remove the largest or newest file and train again to find the file causing the error.
Retry
Click Train bot. Pegasus retries temporary failures on its own, but retry yourself after you change files.
If it still fails
Contact support and include the bot name, the document names, and the message you see.