Failed to index file: Unsupported file file-xxxxxxxx type: application/zip

I’m using the latest version of openai@4.16.1 and referencing a zip-type file when creating an assistant and I get the following error: Failed to index file: Unsupported file file-xxxx type. application/zip, the same problem occurs with the CSV file type


Did you find a fix for this buddy? I’m having the same issue

I’m sorry to say that I haven’t solved this issue, it looks like it’s due to a bug in the OpenAI API, so I’ll probably just have to wait for it to be fixed

I had this same problem with gpt-4-1106-preview. If you don’t need that version, the gpt-4 model seems to be working with csv files.

For me the issue with ’ Unsupported file file-xxxx’ occurs when trying to upload an image (.jpeg, .png, (maybe) etc.) to the assistant playground chat. I’m using gpt-3.5-turbo-1106 though - could that be the problem or should it theoretically work non then less?

I have also tested it using the newest get-4-1106-preview but the issue persists. Please let me know if you find a fix / the reason for this.

Update: One guy on a similar thread found a potential fix for this (Failed to update assistant: UserError: Failed to index file: Unsupported file type: application/csv - #14 by bsquires14)

If you just want to upload files in chat and it didn’t work before try this (just disable Retrieval). If you need to use Retrieval, I guess it won’t work.