# Cannot find my main file when I tried to deploy

**URL:** <https://discuss.streamlit.io/t/cannot-find-my-main-file-when-i-tried-to-deploy/70545>\
**Category:** Community Cloud\
**Tags:** streamlit-cloud, debugging\
**Created:** [May 25, 2024, 5:48am UTC](https://discuss.streamlit.io/t/cannot-find-my-main-file-when-i-tried-to-deploy/70545 "2024-05-25T05:48:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kirkmarple](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kirkmarple/32/41595_2.png) [@kirkmarple](https://discuss.streamlit.io/u/kirkmarple)\
**Post date:** [May 25, 2024, 8:40pm UTC](https://discuss.streamlit.io/t/cannot-find-my-main-file-when-i-tried-to-deploy/70545/6 "2024-05-25T20:40:56Z")

</div>

I just filed a similar bug on this. If you look at dev tools, you can see it’s returning HTTP 400 (bad request) on the call to validate the file.

> [@Getting HTTP 400 within Streamlit Cloud (on checking for GitHub file)](https://discuss.streamlit.io/t/getting-http-400-within-streamlit-cloud-on-checking-for-github-file/70533):
>
> This seems to have just started a day or two ago. Now when trying to deploy a new app in Streamlit Cloud, it fails to validate the Python file exists. Looking in dev tools, that call to ‘validate\_file\_exists’ is always returning HTTP 400. I depoyed apps a few days ago from same repo, and it was fine, so I’m wondering if there’s something broken now in Streamlit Cloud?

---

_[View the full topic](https://discuss.streamlit.io/t/cannot-find-my-main-file-when-i-tried-to-deploy/70545)._
