The file with the .yaml extension cannot be selected for import. #8451

Closed
opened 2026-02-21 18:25:45 -05:00 by yindo · 1 comment
Owner

Originally created by @wellCh4n on GitHub (Feb 20, 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

0.15.3

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Open Studio.
  2. Click Import DSL file
  3. Click browse

✔️ Expected Behavior

Both .yml and .yaml file extensions can be selected for import.

Refer: https://yaml.org/faq.html

Actual Behavior

Only .yml can be selected.

Image

Originally created by @wellCh4n on GitHub (Feb 20, 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 0.15.3 ### Cloud or Self Hosted Cloud ### Steps to reproduce 1. Open `Studio`. 2. Click `Import DSL file` 3. Click `browse` ### ✔️ Expected Behavior Both .yml and .yaml file extensions can be selected for import. Refer: https://yaml.org/faq.html ### ❌ Actual Behavior Only .yml can be selected. ![Image](https://github.com/user-attachments/assets/6a52599f-d148-4ddc-810f-be559d7ad2d0)
yindo added the 🐞 bugcloud labels 2026-02-21 18:25:45 -05:00
yindo closed this issue 2026-02-21 18:25:45 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 20, 2025):

The issue you're experiencing with the inability to select .yaml files for import might be related to the configuration settings in the Dify codebase. Currently, the allowed file extensions for import are specified as .difypkg and .difybndl [1]. It seems that .yaml might not be included in the list of supported extensions for the import functionality.

To resolve this, you might need to check the configuration settings to ensure that .yaml is included as a supported file extension for import. If you have access to modify the codebase, you could add .yaml to the list of supported extensions. If not, you may need to report this as a bug or feature request to the maintainers of the Dify platform.

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 (Feb 20, 2025): <!-- Answer --> The issue you're experiencing with the inability to select `.yaml` files for import might be related to the configuration settings in the Dify codebase. Currently, the allowed file extensions for import are specified as `.difypkg` and `.difybndl` <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/config/index.ts)</sup>. It seems that `.yaml` might not be included in the list of supported extensions for the import functionality. To resolve this, you might need to check the configuration settings to ensure that `.yaml` is included as a supported file extension for import. If you have access to modify the codebase, you could add `.yaml` to the list of supported extensions. If not, you may need to report this as a bug or feature request to the maintainers of the Dify platform. <!-- 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/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/32e0e275-8b5d-4a3c-a3ff-81caa1882b64?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8451