Title: Deploy Error — Request failed with status code 401
Hello,
I am trying to deploy my app on Streamlit Community Cloud and I keep getting this error when clicking the Deploy button:
Error
Request failed with status code 401
App details:
- GitHub repository: GitHub - saifeldinkhedir-coder/HydroSovereign-AI-Engine-HSAE-: HSAE is the first open-source platform that unifies multi-source satellite remote sensing, conceptual rainfall-runoff modelling, machine learning, and international water law automation into a single sovereign intelligence system for transboundary reservoir monitoring. · GitHub
- Branch:
main - Main file:
app.py - Python version: 3.12
- App URL attempted:
hydrosovereign.streamlit.app
Streamlit version: 1.38
Python version: 3.12
What I tried so far:
- Entered the full GitHub URL in the deployment form
- Used the interactive picker to select the repository
- Cleared browser cache and tried in Incognito mode
- Signed out and signed back in with GitHub
- Checked GitHub Settings → Applications → Streamlit OAuth — it shows as authorized
- Also encountered Error Code 1ST on a previous attempt before this 401 error
The error appears immediately when clicking Deploy — no build log is shown at all.
requirements.txt is present in the repository with all dependencies listed.
Is this a GitHub OAuth permissions issue? Does Streamlit need specific repository access grants? Any help is appreciated.
Thank you.