Hey there, I’m trying to deploy a simple app from a repo on streamlit cloud and I get the following error when I click “Deploy!”
Any thoughts on how to go about fixing it? There’s no guidance on debugging this.
Request failed with status code 400
Hey there, I’m trying to deploy a simple app from a repo on streamlit cloud and I get the following error when I click “Deploy!”
Any thoughts on how to go about fixing it? There’s no guidance on debugging this.
Request failed with status code 400
Hey @nukebro,
Thanks for sharing this question! Are “main” and “app.py” correct? What happens if you try deploying by supplying your repo’s URL instead =?
Yes! It’s the main branch and the entrypoint/streamlit script is app.py. It’s a private repo, but I took a screenshot.
It does call on a .env file for the API it uses, not sure if that matters.
And I get the same error trying to deploy via the github url. Does the specific error code mean anything?
Super interesting – do you mind DM’ing me your GitHub username? Also, have you deployed any other private apps on your account?
Will send a DM now - this is my first time trying to deploy on streamlit cloud, so I’m sure have some setting in git wrong
@Caroline just kidding, I don’t know to DM on here
If you click on my profile there should be a “Message” button in the top right corner
It looks like I’m limited as a new user and can’t send messages?
Hello, I am facing the save error, did you find a way to solve the issue by any chance?
5 posts were split to a new topic: “Request failed with status code 400” error when deploying
Hi, I’m experiencing this as well when trying to deploy. I am also unable to send you a DM, the option does not appear.
Hey @andersbennaes, can you share the info in this thread instead?
Can you share the link to the GitHub repo that you’re trying to deploy from?
@Caroline Unfortunately I can’t, but I sent you an email. Cheers
Hey there,
I’m reaching out because I’m having a bit of trouble understanding why this particular issue is classified as super interesting
. This issue has been a part of Streamlit from the beginning.
Just to give you a bit more context, I recently deployed a very basic app which allows users to upload csv files. I used Streamlit 1.31.0 and a Single Docker container on Azure as a web app service, but I encountered the same error.
Could you possibly guide me towards a solution for this?
Thank you in advance for your help and support.
Hi @cmbkr,
It sounds like the error you’re describing is different from what this thread is focused on, which is seeing a 400 error when deploying on Streamlit Community Cloud (you mentioned you’re deploying your app with Azure). Do you mind creating a new post in the “Deployment” category for your question?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.