Skip to content

[Bug]: document ingestion fails with 500, error message not helpful #820

@philnash

Description

@philnash

OpenRAG Version

0.2.0

Deployment Method

uvx (uvx openrag)

Operating System

macOS 26.2

Python Version

3.13.11

Affected Area

Ingestion (document processing, upload, Docling)

Bug Description

I tried to ingest a document, it took a long time and eventually failed. The message for the failed document says:

Ingestion failed: Server error '500 Internal Server Error' for url 'http://langflow:7860/api/v1/run/5488df7c-b93f-4f87-a446-
b67028bc0813' For more information check: https:// developer.mozilla.org/en-US/docs/Web/HTTP/Status/500

Linking to MDN for docs on 500 errors is not a useful error message.

Steps to Reproduce

  1. Try to upload a document for ingestion
  2. It fails (not sure why)

Expected Behavior

An error message that tells me why it failed.

Actual Behavior

A generic 500 error message that I don't know where it came from.

Relevant Logs

Screenshots

Image

Additional Context

I found it hard to get anything out of the logs due to #819.

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.
  • I have provided all the requested information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions