[GH-ISSUE #2345] [BUG]: 1 Documents Failed to Add, fetch failed #1530

Closed
opened 2026-02-22 18:25:16 -05:00 by yindo · 6 comments
Owner

Originally created by @emulk on GitHub (Sep 22, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2345

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

hello, when i try to add documents, txt or pdf documents, i receve always same error,
documents failed to add, fetch failed

i'm using ollama, with llama 3.1
anythingllm v.1.6.7

Are there known steps to reproduce?

No response

Originally created by @emulk on GitHub (Sep 22, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2345 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? hello, when i try to add documents, txt or pdf documents, i receve always same error, documents failed to add, fetch failed i'm using ollama, with llama 3.1 anythingllm v.1.6.7 ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:25:16 -05:00
yindo closed this issue 2026-02-22 18:25:16 -05:00
Author
Owner

@timothycarambat commented on GitHub (Sep 23, 2024):

Responded already, but please refer to https://docs.anythingllm.com/fetch-failed-on-upload#windows-visual-c-redistributable

@timothycarambat commented on GitHub (Sep 23, 2024): Responded already, but please refer to https://docs.anythingllm.com/fetch-failed-on-upload#windows-visual-c-redistributable
Author
Owner

@emulk commented on GitHub (Sep 23, 2024):

Hi, i have already installed Visual C++ Redistributable v14.x on my pc, and that dosen't solve the issue.

my processo is : 13th Gen Intel(R) Core(TM) i7-13850HX, 2304 Mhz, 20 Core(s), 28 Logical Processor(s)

@emulk commented on GitHub (Sep 23, 2024): Hi, i have already installed Visual C++ Redistributable v14.x on my pc, and that dosen't solve the issue. my processo is : 13th Gen Intel(R) Core(TM) i7-13850HX, 2304 Mhz, 20 Core(s), 28 Logical Processor(s)
Author
Owner

@timothycarambat commented on GitHub (Sep 23, 2024):

Are you able to post the logs for the app? The error may be more prevalent in there:
https://docs.anythingllm.com/installation-desktop/debug

@timothycarambat commented on GitHub (Sep 23, 2024): Are you able to post the logs for the app? The error may be more prevalent in there: https://docs.anythingllm.com/installation-desktop/debug
Author
Owner

@emulk commented on GitHub (Sep 24, 2024):

I have the following log:


[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] info: Collector hot directory and tmp storage wiped!
[collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888.
[backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM.
[backend] info: prisma:info Starting a sqlite pool with 41 connections.
[backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"runtime":"desktop"}}
[backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is lmstudio.
[backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled.
[backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started.
[backend] info: Adding new vectorized document into namespace testworkspace
[backend] info: [NativeEmbedder] Initialized
[backend] info: [RecursiveSplitter] Will split with {"chunkSize":1000,"chunkOverlap":20}
[backend] info: Chunks created from document: 1
[backend] info: [NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB)
[backend] info: [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/
[backend] info: [NativeEmbedder] Failed to download model from primary URL. Using fallback https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/
[backend] info: [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/
[backend] error: addDocumentToNamespace fetch failed
[backend] error: Failed to vectorize Description.txt
[backend] info: [TELEMETRY SENT] {"event":"documents_embedded_in_workspace","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"LLMSelection":"lmstudio","Embedder":"native","VectorDbSelection":"lancedb","TTSSelection":"native","runtime":"desktop"}}
[backend] info: [Event Logged] - workspace_documents_added
@emulk commented on GitHub (Sep 24, 2024): I have the following log: ``` [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [collector] info: Collector hot directory and tmp storage wiped! [collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888. [backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM. [backend] info: prisma:info Starting a sqlite pool with 41 connections. [backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"runtime":"desktop"}} [backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is lmstudio. [backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services. [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled. [backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started. [backend] info: Adding new vectorized document into namespace testworkspace [backend] info: [NativeEmbedder] Initialized [backend] info: [RecursiveSplitter] Will split with {"chunkSize":1000,"chunkOverlap":20} [backend] info: Chunks created from document: 1 [backend] info: [NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB) [backend] info: [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/ [backend] info: [NativeEmbedder] Failed to download model from primary URL. Using fallback https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/ [backend] info: [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/ [backend] error: addDocumentToNamespace fetch failed [backend] error: Failed to vectorize Description.txt [backend] info: [TELEMETRY SENT] {"event":"documents_embedded_in_workspace","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"LLMSelection":"lmstudio","Embedder":"native","VectorDbSelection":"lancedb","TTSSelection":"native","runtime":"desktop"}} [backend] info: [Event Logged] - workspace_documents_added ```
Author
Owner

@emulk commented on GitHub (Sep 24, 2024):

Solved it, i downloaded the model manually.

Thank you for your help

@emulk commented on GitHub (Sep 24, 2024): Solved it, i downloaded the model manually. Thank you for your help
Author
Owner

@zejianzhang1982 commented on GitHub (Jan 8, 2025):

mkdir Xenova/all-MiniLM-L6-v2
huggingface-cli download --resume-download Xenova/all-MiniLM-L6-v2 --local-dir Xenova/all-MiniLM-L6-v2
then mv Xenova/all-MiniLM-L6-v2 to ~/server/storage/models/

@zejianzhang1982 commented on GitHub (Jan 8, 2025): mkdir Xenova/all-MiniLM-L6-v2 huggingface-cli download --resume-download Xenova/all-MiniLM-L6-v2 --local-dir Xenova/all-MiniLM-L6-v2 then mv Xenova/all-MiniLM-L6-v2 to ~/server/storage/models/
yindo changed title from [BUG]: 1 Documents Failed to Add, fetch failed to [GH-ISSUE #2345] [BUG]: 1 Documents Failed to Add, fetch failed 2026-06-05 14:41:15 -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#1530