Indexing failed: Invalid string length #25
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When indexing a large monorepo, once the embeddings are generated, it can result in the following error message.
Embedding complete: 200000 texts in 2500.0s
Store phase: storing 22000 file(s) into vector database...
Store phase complete: 0 files stored in 0.1s (0 total chunks)
Indexing failed: Invalid string length
This unfortunately seems to throw away all of the computed embeddings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
MrDoe commentedon Aug 4, 2026
Thanks for reporting this issue! I'll take a look into it.
MrDoe commentedon Aug 6, 2026
The latest pr should also have solved this issue. Can you please try it again with the newest version?
NextDesign1 commentedon Aug 8, 2026
Unfortunately I'm still seeing this.
MrDoe commentedon Aug 8, 2026
Can you please post me the output of your
opencode-rag statushere?