[GH-ISSUE #964] [BUG]: Error: 1 documents failed to add. fetch fail #588

Closed
opened 2026-02-22 18:20:20 -05:00 by yindo · 13 comments
Owner

Originally created by @peoplelikethesun on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/964

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

image

Are there known steps to reproduce?

No response

Originally created by @peoplelikethesun on GitHub (Mar 24, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/964 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? ![image](https://github.com/Mintplex-Labs/anything-llm/assets/52613270/8c6b30c9-90e5-496c-9e1e-7b6041ead6b3) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:20 -05:00
yindo closed this issue 2026-02-22 18:20:20 -05:00
Author
Owner

@walkerandmay commented on GitHub (Mar 24, 2024):

I am experiencing the same issue.

@walkerandmay commented on GitHub (Mar 24, 2024): I am experiencing the same issue.
Author
Owner

@walkerandmay commented on GitHub (Mar 24, 2024):

Could it be because we used Chinese literature?

@walkerandmay commented on GitHub (Mar 24, 2024): Could it be because we used Chinese literature?
Author
Owner

@Zowlex commented on GitHub (Mar 24, 2024):

+1

@Zowlex commented on GitHub (Mar 24, 2024): +1
Author
Owner

@Tiberius1313 commented on GitHub (Mar 24, 2024):

Could it be because we used Chinese literature?

I don't know if that can cause the bug. However AnythingLLM Embedder uses Xenova all-MiniLM-L6-v2
https://huggingface.co/Xenova/all-MiniLM-L6-v2

To my understanding this model is English only
https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

For Chinese embedding you have to use a model that understands the Language
https://huggingface.co/models?library=sentence-transformers&language=zh&sort=trending

@Tiberius1313 commented on GitHub (Mar 24, 2024): > Could it be because we used Chinese literature? I don't know if that can cause the bug. However AnythingLLM Embedder uses Xenova all-MiniLM-L6-v2 https://huggingface.co/Xenova/all-MiniLM-L6-v2 To my understanding this model is English only https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 For Chinese embedding you have to use a model that understands the Language https://huggingface.co/models?library=sentence-transformers&language=zh&sort=trending
Author
Owner

@timothycarambat commented on GitHub (Mar 25, 2024):

https://github.com/Mintplex-Labs/anything-llm/issues/966

This is because the embedder cannot download from HuggingFace due to VPN, IP-blocked, or something along those lines by HF servers. You can however manually download these models from their UI or individually.

@timothycarambat commented on GitHub (Mar 25, 2024): https://github.com/Mintplex-Labs/anything-llm/issues/966 This is because the embedder cannot download from HuggingFace due to VPN, IP-blocked, or something along those lines by HF servers. You can however manually download these models from their UI or individually.
Author
Owner

@zykj commented on GitHub (Mar 31, 2024):

i7 3700/16g ram ,win10 simplified Chinese Version , Anythingllm v1.4.1 + ollama + qwen:4b , same problem ,
nearly give up ... find a video @bilibili : " 32g ram + 4070 gpu simplified Chinese Win10 + Anythingllm + ollama + qwen:7b is well" ;
I think: Is it that I don't have enough hardware ?
so change qwen:4b to qwen:0.5b and upload only 37kb txt file, successfully upload !!!

upload 47k txt still fail change file name to english success .

try to uplad 230k txt file still fail , it seem's i need upgrade my computer

100k txt file success .

anythingllm upload successfully

@zykj commented on GitHub (Mar 31, 2024): i7 3700/16g ram ,win10 simplified Chinese Version , Anythingllm v1.4.1 + ollama + qwen:4b , same problem , nearly give up ... find a video @bilibili : " 32g ram + 4070 gpu simplified Chinese Win10 + Anythingllm + ollama + qwen:7b is well" ; I think: Is it that I don't have enough hardware ? so change qwen:4b to qwen:0.5b and upload only 37kb txt file, successfully upload !!! upload 47k txt still fail change file name to english success . try to uplad 230k txt file still fail , it seem's i need upgrade my computer 100k txt file success . ![anythingllm upload successfully](https://github.com/Mintplex-Labs/anything-llm/assets/7610053/aad096cc-ac12-4ada-8057-fc874b636395)
Author
Owner

@wxzcldw commented on GitHub (Apr 4, 2024):

I faced the same issue
image
I tried Chinese Or English Files, the result is same.

@wxzcldw commented on GitHub (Apr 4, 2024): I faced the same issue ![image](https://github.com/Mintplex-Labs/anything-llm/assets/163713584/97eab5a0-e4ca-40a5-bded-d8f716c50987) I tried Chinese Or English Files, the result is same.
Author
Owner

@wxzcldw commented on GitHub (Apr 4, 2024):

I find a way to fix this problem. set as fellows:
image
then, add files are good.

@wxzcldw commented on GitHub (Apr 4, 2024): I find a way to fix this problem. set as fellows: ![image](https://github.com/Mintplex-Labs/anything-llm/assets/163713584/2f37b7d3-8a09-40c2-beee-05aa21037841) then, add files are good.
Author
Owner

@shanghaiyangming commented on GitHub (May 20, 2024):

I find a way to fix this problem. set as fellows: image then, add files are good.

it is indeed sloved the problem with your method

@shanghaiyangming commented on GitHub (May 20, 2024): > I find a way to fix this problem. set as fellows: ![image](https://private-user-images.githubusercontent.com/163713584/319658341-2f37b7d3-8a09-40c2-beee-05aa21037841.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYyNjIzNjEsIm5iZiI6MTcxNjI2MjA2MSwicGF0aCI6Ii8xNjM3MTM1ODQvMzE5NjU4MzQxLTJmMzdiN2QzLThhMDktNDBjMi1iZWVlLTA1YWEyMTAzNzg0MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyMVQwMzI3NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNDU2ZmIzN2M3OGNiNGNmN2U2ZTcwN2MxYzdkOWM5MDVjMTAzMzJlOGYzODIxMGJmYmI1ODVhZTZlZGE4MzQ1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.quO7HvplUDBpVVmeiFM1lH6y0d4rhijzKIcWW-oJYDQ) then, add files are good. it is indeed sloved the problem with your method
Author
Owner

@nfhspongying commented on GitHub (Jul 26, 2024):

same case as zykj while use [wxzcldw]'s solution,“failed to add.

Ollama Failed to embed: [undefined]: undefined”

@nfhspongying commented on GitHub (Jul 26, 2024): same case as zykj while use [wxzcldw]'s solution,“failed to add. Ollama Failed to embed: [undefined]: undefined”
Author
Owner

@timothycarambat commented on GitHub (Jul 26, 2024):

same case as zykj while use [wxzcldw]'s solution,“failed to add.

Ollama Failed to embed: [undefined]: undefined”

This means the ollama process ran out of memory processing the embeddings and failed to return a vector

@timothycarambat commented on GitHub (Jul 26, 2024): > same case as zykj while use [wxzcldw]'s solution,“failed to add. > > Ollama Failed to embed: [undefined]: undefined” This means the ollama process ran out of memory processing the embeddings and failed to return a vector
Author
Owner

@Sunrisies commented on GitHub (Feb 4, 2025):

Image可以使用ollama来解决这个问题

@Sunrisies commented on GitHub (Feb 4, 2025): ![Image](https://github.com/user-attachments/assets/9ae5dfb1-51dd-4df4-9a15-8637ab50127e)可以使用ollama来解决这个问题
Author
Owner

@timothycarambat commented on GitHub (Feb 5, 2025):

If you are based in China and looking at this thread please see: https://github.com/Mintplex-Labs/anything-llm/issues/3113#issuecomment-2637804724

This suspension will be resolved in the future, but for now, this will be the case.

@timothycarambat commented on GitHub (Feb 5, 2025): If you are based in China and looking at this thread please see: https://github.com/Mintplex-Labs/anything-llm/issues/3113#issuecomment-2637804724 This suspension will be resolved in the future, but for now, this will be the case.
yindo changed title from [BUG]: Error: 1 documents failed to add. fetch fail to [GH-ISSUE #964] [BUG]: Error: 1 documents failed to add. fetch fail 2026-06-05 14:36:09 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#588