Skip to content

AttributeError: 'NoneType' object has no attribute 'get' on indexing file #129

@paultranvan

Description

@paultranvan

We met this error on indexing a file:

2025-10-31T11:12:24.259044824Z (Indexer pid=6795) Traceback (most recent call last):
2025-10-31T11:12:24.259057304Z (Indexer pid=6795)   File "/app/openrag/components/indexer/indexer.py", line 121, in add_file
2025-10-31T11:12:24.259069294Z (Indexer pid=6795)     user_id=user.get("id"),
2025-10-31T11:12:24.259089204Z (Indexer pid=6795)             ^^^^^^^^
2025-10-31T11:12:24.259102090Z (Indexer pid=6795) AttributeError: 'NoneType' object has no attribute 'get'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions