macOS 15 does not support uploading files in Markdown (.md) format. #13880

Closed
opened 2026-02-21 19:14:21 -05:00 by yindo · 6 comments
Owner

Originally created by @MapleLeaf-spec on GitHub (May 14, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3.1

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

1.To enable file upload, follow the steps illustrated in the figure.
Image
2.An error occurs when uploading files with the .md extension. This issue was not observed in earlier versions.

Image 3.A console error occurs during page initialization. It is currently unclear whether this is related to the issue with uploading .md files." Image

✔️ Expected Behavior

Uploading .md files was supported in previous macOS versions, but the current version triggers an error.

Actual Behavior

The file upload operation fails, and an error message is displayed.

Originally created by @MapleLeaf-spec on GitHub (May 14, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.3.1 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce 1.To enable file upload, follow the steps illustrated in the figure. <img width="412" alt="Image" src="https://github.com/user-attachments/assets/382b499b-b785-4855-8c53-b168e88b63e6" /> 2.An error occurs when uploading files with the .md extension. This issue was not observed in earlier versions. <img width="422" alt="Image" src="https://github.com/user-attachments/assets/75633f0f-021c-4412-a9c6-49d63ecf0e69" /> 3.A console error occurs during page initialization. It is currently unclear whether this is related to the issue with uploading .md files." <img width="686" alt="Image" src="https://github.com/user-attachments/assets/dae7ff51-7bcd-4d92-b659-ec535ef62d58" /> ### ✔️ Expected Behavior Uploading .md files was supported in previous macOS versions, but the current version triggers an error. ### ❌ Actual Behavior The file upload operation fails, and an error message is displayed.
yindo added the 🤔 cant-reproduce label 2026-02-21 19:14:21 -05:00
yindo closed this issue 2026-02-21 19:14:21 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 14, 2025):

Hello @MapleLeaf-spec! I'm Dosu, your friendly bot here to help you with any bugs, questions, and contributions while you wait for a human maintainer. Let's dive into your issue together!

In Dify version 1.3.1, MD files should be supported for upload, as the supported document formats include Markdown (MD) files [1][2]. However, if you're encountering an error message stating "File type not supported" when uploading MD files on macOS 15, it might be due to a configuration issue or a bug specific to your setup.

The console errors you mentioned, such as the appName warning and the chunk-BAmLwY03.js TypeError, could potentially be related to this issue, as they indicate problems with dynamic resource loading and script execution. These errors might affect the file upload functionality indirectly.

To troubleshoot, consider the following steps:

  1. Verify that the file upload settings are correctly configured to support document uploads, including MD files.
  2. Check if there are any updates or patches available for Dify that address this issue.
  3. Investigate the console errors further to see if resolving them impacts the file upload functionality.

If the problem persists, it might be beneficial to look into any recent changes or updates in your environment that could affect file handling, such as browser updates or changes in macOS 15.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (May 14, 2025): <!-- Greeting --> Hello @MapleLeaf-spec! I'm [Dosu](https://dosu.dev), your friendly bot here to help you with any bugs, questions, and contributions while you wait for a human maintainer. Let's dive into your issue together! <!-- Answer --> In Dify version 1.3.1, MD files should be supported for upload, as the supported document formats include Markdown (MD) files <sup>[[1]](https://github.com/crazywoola/dify-docs-mintlify/blob/main/api_access/completion.en.mdx)</sup><sup>[[2]](https://github.com/crazywoola/dify-docs-mintlify/blob/main/ja-jp/guides/workflow/file-upload.mdx)</sup>. However, if you're encountering an error message stating "File type not supported" when uploading MD files on macOS 15, it might be due to a configuration issue or a bug specific to your setup. The console errors you mentioned, such as the `appName` warning and the `chunk-BAmLwY03.js` TypeError, could potentially be related to this issue, as they indicate problems with dynamic resource loading and script execution. These errors might affect the file upload functionality indirectly. To troubleshoot, consider the following steps: 1. Verify that the file upload settings are correctly configured to support document uploads, including MD files. 2. Check if there are any updates or patches available for Dify that address this issue. 3. Investigate the console errors further to see if resolving them impacts the file upload functionality. If the problem persists, it might be beneficial to look into any recent changes or updates in your environment that could affect file handling, such as browser updates or changes in macOS 15. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/16b526b8-0111-4834-818b-55510497606d?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (May 14, 2025):

I can not reproduce this in our latest cloud environment.

Image

biz.automator.trace and we do not enable this service for tracing purpose. This looks unfamiliar to me. Please check the configurations again and make sure you have setup the environment correctly.

@crazywoola commented on GitHub (May 14, 2025): I can not reproduce this in our latest cloud environment. <img width="1228" alt="Image" src="https://github.com/user-attachments/assets/4177e3c2-1baf-43ed-8bd7-f0a7babe251f" /> `biz.automator.trace` and we do not enable this service for tracing purpose. This looks unfamiliar to me. Please check the configurations again and make sure you have setup the environment correctly.
Author
Owner

@MapleLeaf-spec commented on GitHub (May 14, 2025):

@crazywoola

Image Image However, I also encountered this issue in the latest cloud environment. I suspect it may be related to the macOS version. I'm currently using the latest version of macOS, and I did not experience this problem with the previous version. Could this be a compatibility issue with the latest macOS? I have tested across all major browsers and the issue persists.
@MapleLeaf-spec commented on GitHub (May 14, 2025): @crazywoola <img width="693" alt="Image" src="https://github.com/user-attachments/assets/1bbb0474-ba49-45b9-9f67-21976c774106" /> <img width="832" alt="Image" src="https://github.com/user-attachments/assets/6a70177e-b452-4fbb-ba92-2044161614e9" /> However, I also encountered this issue in the latest cloud environment. I suspect it may be related to the macOS version. I'm currently using the latest version of macOS, and I did not experience this problem with the previous version. Could this be a compatibility issue with the latest macOS? I have tested across all major browsers and the issue persists.
Author
Owner

@crazywoola commented on GitHub (May 14, 2025):

I am using 15.4.1 (24E263)

@crazywoola commented on GitHub (May 14, 2025): I am using `15.4.1 (24E263)`
Author
Owner

@MapleLeaf-spec commented on GitHub (May 15, 2025):

@appleboy I am using 15.5 (24F74)
This issue has proven to be quite challenging, and I have not yet found any actionable leads. The problem occurs consistently across all major browsers I have tested

@MapleLeaf-spec commented on GitHub (May 15, 2025): @appleboy I am using 15.5 (24F74) This issue has proven to be quite challenging, and I have not yet found any actionable leads. The problem occurs consistently across all major browsers I have tested
Author
Owner

@pepsing commented on GitHub (May 29, 2025):

I think I found the key lines of this problem
where codes pop this message
and these are the difference between console debug on MacOS and Windows

Image
which the r.type is 'text/x-markdown' on MacOS while empty on Windows (which may right by mistake)

Image

@pepsing commented on GitHub (May 29, 2025): I think I found the key lines of this problem [where codes pop this message](https://github.com/langgenius/dify/blob/8ef91222ea5b7c7bf6df17667ba9bfd73b3aa9a9/web/app/components/base/file-uploader/hooks.ts#L234) and these are the difference between console debug on MacOS and Windows ![Image](https://github.com/user-attachments/assets/cc1c33aa-4e50-4848-af08-2834cb58659d) which the r.type is 'text/x-markdown' on MacOS while empty on Windows (which may right by mistake) ![Image](https://github.com/user-attachments/assets/e7b4c8a4-3570-4329-829c-9b22812c1152)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13880