GitHub user dosubot[bot] added a comment to the discussion: Error when trying to upload a CSV file
<!-- Greeting --> Hi @Manjavachi! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> This error isn't caused by the official Superset codebase—Superset's CSV upload logic does not use or pass the mangle_dupe_cols parameter to pandas.read_csv, and only allows a specific set of parameters through a strict schema. This means the error is likely coming from a custom plugin, API client, or local modification that is injecting this parameter, or possibly from an automated script or tool interacting with the Superset API using legacy code. I recommend checking for any customizations or third-party tools in your environment that might be sending mangle_dupe_cols, and also verifying that both your Superset and pandas versions are up to date and compatible. If you share your Superset and pandas versions, I can help check for any known compatibility issues. For reference, you can see how Superset handles CSV uploads in its code here: [CSV upload implementation](https://github.com/apache/superset/blob/f6f95821863536654c73553db02cdd03827c8113/superset/commands/database/uploaders/csv_reader.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/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/556f8530-98b3-481a-a84e-22368ca5e563?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33885) GitHub link: https://github.com/apache/superset/discussions/33885#discussioncomment-13564060 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
