dosubot[bot] commented on issue #33802: URL: https://github.com/apache/superset/issues/33802#issuecomment-2981054723
<!-- Answer --> No, you do not need a metadata.yaml in each subfolder. Superset requires a single metadata.yaml file at the root of the ZIP file you upload for import. This file is mandatory for the import process to recognize and validate the bundle—if it's missing or not at the root, you'll get errors like the one you saw. The subfolders (like charts, datasets, databases, dashboards) just need to contain the relevant YAML files for each asset type; only the root needs the metadata.yaml file with the correct version field (e.g., version: 1.0.0) [source](https://github.com/apache/superset/issues/33659) [source](https://github.com/apache/superset/blob/4d6cdf4fea44164e5953357ceceb44c93cdee8e3/superset/commands/importers/v1/utils.py). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/7d45d347-2383-4052-b52f-9c69d0f2f24e?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33802) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
