Closed StanGirard closed 11 months ago
🤖
Hello @StanGirard,
Good to see you again. I trust you've been doing well.
Based on the information provided, it seems like you're encountering an issue with file upload. The error message "Error al subir archivo: {{message}}" indicates that there's an issue with the file upload process. The {{message}} placeholder should ideally be replaced with the specific error message related to the file upload failure.
In the Quivr codebase, the function that handles file uploads is upload_file_storage
. This function uses the Supabase client to upload the file to the "quivr" storage bucket. If an exception occurs during the upload, it logs the error and raises the exception. You can find this function in the backend/repository/files/upload_file.py file.
The upload_file_storage
function can accept files in various formats including plain text, CSV, Markdown, audio, video, PDF, HTML, Telegram, Microsoft PowerPoint, Microsoft Word, OpenDocument Text, Microsoft Excel, EPUB, Jupyter Notebook, and Python files. This is defined in the acceptedFormats
constant in the frontend/lib/helpers/acceptedFormats.ts file.
There have been similar issues in the past. For instance, [Issue] An error occurred while processing [FileName] and When I upload a document, I get the following error.. These issues were resolved, so you might find the discussions and solutions helpful.
However, to provide a more accurate solution, could you please provide more details about the issue? Specifically, the exact error message you're receiving (replacing the {{message}} placeholder), the type and size of the file you're trying to upload, and the steps you're taking leading up to the error. This information will help in identifying the root cause of the issue.
What happened?
A bug happened!
Relevant log output
Twitter / LinkedIn details
No response