# Why unsupported .sh file?

**URL:** <https://community.openai.com/t/why-unsupported-sh-file/1203164>\
**Category:** Bugs\
**Tags:** gpt-4, api\
**Created:** [April 3, 2025, 4:25am UTC](https://community.openai.com/t/why-unsupported-sh-file/1203164 "2025-04-03T04:25:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![suzzzy](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/suzzzy/32/599202_2.png) [@suzzzy](https://community.openai.com/u/suzzzy)\
**Post date:** [April 3, 2025, 4:25am UTC](https://community.openai.com/t/why-unsupported-sh-file/1203164/1 "2025-04-03T04:25:19Z")

</div>

I used API that can upload file.  
The end point is **/v1/files**  
I checked invalid format in docs(part of Supported files)

But, I received an error when I uploaded a file with a **.sh** extension.  
The error message is  
`400 Invalid extension sh. Supported formats: "c", "cpp", "css", "csv", "doc", "docx", "gif", "go", "html", "java", "jpeg", "jpg", "js", "json", "md", "pdf", "php", "pkl", "png", "pptx", "py", "rb", "tar", "tex", "ts", "txt", "webp", "xlsx", "xml", "zip"`

Your documentation states that .sh files are supported, so why does the error indicate that .sh files are not supported?
