Repository navigation
Cannot upload documents to Project #17624
Replies: 2 comments 1 reply
|
Yes. For the standard Docker Compose setup, start with the API logs. From the directory containing your Compose file, reproduce the failure once and then run: docker compose logs --since=5m --tail=150 api
docker compose logs --since=5m --tail=150 rag_apiThose are the service names in the v0.8.8 Compose file. If yours differs, In the API output, look around that timestamp for There are file logs too: the standard Compose file mounts Could you share the short error excerpt from one failed upload, with credentials, document contents and personal details removed? Also note whether both the tiny TXT and PDF fail at the same stage. I checked these locations against v0.8.8 source; I haven't reproduced your deployment's upload failure, so I wouldn't attribute it to file size or BOM without that error. |
|
Thanks for your patience — this is resolved, thanks to your information about logs location. What was wrong: PDF and text uploads to Projects were failing with Error processing file. The files themselves were fine. The RAG service extracts text correctly and then sends it to OpenAI for embedding — but the server's .env still contained the placeholder OPENAI_API_KEY=user_provided, so every embedding request was rejected with a 401 Incorrect API key. The upload never reached the vector store, so the UI showed a generic processing error. What was fixed: we set a valid RAG_OPENAI_API_KEY and restarted the RAG service. Result: uploads now complete and files are indexed into the project correctly. Thank you for help! |
Uh oh!
There was an error while loading. Please reload this page.
I was trying to upload documents to project in LibreChat [v0.8.8 on Docker] and pdfs (max 2,5 MB) or txt (no BOM) get document processing error. How to approach this problem? How to diagnose it? Is there a log in LibreChat?
I tried Google before and AI help before asking here.
All reactions