When uploading a short .txt file to my assistant, I’m getting the following error:
Failed to index file: Error extracting text from file [...] detail_str=', detail: Extracted content contained only whitespace.' self.error_code=<FileParsingErrorCode.EMPTY_FILE: 'file_empty'> self.m...
The file is called “temp.txt” and contains only a single line which is the word “hi”. When I add more than 5 characters, the upload is successful. For example “hello” doesn’t work, but “hellot” uploads successfully.
Our application would like to allow users to upload files of any size. Is there a workaround for this other than detecting small file sizes manually?