microsoft / microsoft/simplechat

Trouble uploading zip archives

Open
#896 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
152
Forks
116
Avg merge
7h 7m
Merged PRs (30d)
122

Description

Hello

Asking SimpleChat directly about support for zip archives -

**Yes. ZIP files can be uploaded here.

I can open them to inspect the contents (code, documents, images, datasets, etc.), read files inside, and help analyze or modify them. If the archive is very large or contains many files, it may take a bit longer to process.**

I work with the FAA and we are preparing a SimpleChat deployment. I'm attempting to upload a zip archive expecting it to be unpacked and processed recursively. I'm receiving the following error:

**Error uploading: file type not supported**

A little research using edge provided the following results:

**Why ZIP Uploads Fail
Feature status: In Microsoft Copilot and related services, .zip support is still in development. Even if the UI says it can accept ZIPs, the backend may not yet be able to parse or extract them reliably [Microsoft Learn](https://learn.microsoft.com/en-us/answers/questions/5738842/copilot-says-it-can-accept-zip-files-but-when-tryi).
MIME type inconsistencies: ZIP files can have different MIME types depending on the browser/OS, such as application/zip, application/x-zip-compressed, or even an empty string. This can cause upload validation to fail if the system expects a specific type [jsdev.space](https://jsdev.space/howto/zip-rar-mime-type-upload/).
Platform limitations: Some versions of Simple Chat (e.g., v0.237.009) had bugs where supported formats like .pdf, .docx, .pptx, .txt, .html worked, but .zip and others like .xlsx or .csv did not [Github](https://github.com/microsoft/simplechat/issues/708).**

This text suggests the issue was resolved in v0.237.009 however we are running: v0.241.007

What would you suggest the next steps be?

Thanks,
Mike Graham

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the upload validation and archive-processing entry points, then reproduce the unsupported-file error with a ZIP archive in the reported v0.241.007 deployment. Trace how supported file types are identified and how extracted contents are processed recursively; done means ZIP uploads succeed safely and the relevant upload or processing tests cover the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.